+ Reply to Thread
Results 1 to 3 of 3

Parse string

  1. #1
    Registered User
    Join Date
    11-14-2005
    Posts
    37

    Parse string

    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,
    Chris

  2. #2
    Ardus Petus
    Guest

    Re: Parse string

    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,
    --
    AP


    "loopoo" <[email protected]> a écrit dans
    le message de news:[email protected]...
    >
    > 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,
    > Chris
    >
    >
    > --
    > loopoo
    > ------------------------------------------------------------------------
    > loopoo's Profile:

    http://www.excelforum.com/member.php...o&userid=28792
    > View this thread: http://www.excelforum.com/showthread...hreadid=529118
    >




  3. #3
    Registered User
    Join Date
    11-14-2005
    Posts
    37
    Thanks a lot for your help.

    That was exactly what I was looking for.

    Chris.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1