Results 1 to 3 of 3

Thread: String......

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2002
    Posts
    14

    String......

    Hi,

    I have one String array like this.....

    str(0)=msg1/msg2/msg3/msg4
    str(1)=msg1/msg2/msg5
    str(2)=msg1/msg2/msg6/msg7
    str(3)=msg1/msg2/msg8

    here i want to split the string array....and store like this......
    i want to store msg1/msg2 in one string........after msg2 i want to store another string ...how can i do it.....anybody know about it....plz tell me.....

    thanks in advance...

    kavi_k

  2. #2
    PowerPoster
    Join Date
    Aug 2001
    Location
    new jersey
    Posts
    2,904
    see instr, mid, left, and right

  3. #3
    Fanatic Member joltremari's Avatar
    Join Date
    Sep 2000
    Location
    Mississippi
    Posts
    674
    VB Code:
    1. sNewStr = Split(str, "/")
    "I have not failed. I've just found 10,000 ways that won't work."
    'Thomas Edison'

    "If we knew what it was we were doing it wouldn't be called research, would it?"
    'Albert Einstein'

    VB6

Posting Permissions

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



Click Here to Expand Forum to Full Width