Parse string

  • Thread starter Thread starter loopoo
  • Start date Start date
L

loopoo

Hello!

I am quite new to Excel VBA. Can anyone please help me with this issue
I want to parse a string character by character just like an array.

Is there a function for that??

Thanks in advance,
Chri
 
dim i as integer
dim str as string
dim car as string
for i = 1 to len(str)
car = mid(str,i,1)
msgbox car
next i


Cordialement,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top