Results 1 to 2 of 2

Thread: split

  1. #1

    Thread Starter
    Member
    Join Date
    Dec 1999
    Location
    tehran,iran
    Posts
    53

    Post

    I have this string for example
    a$="toraj,tannaz,arash"
    now how I can split three words
    and put each other in new string ?
    for example split toraj
    and then split tannaz and also arash.

    I saw split command but can not undrestand it ?

    thanx

  2. #2
    Guest

    Post Split Command

    the split command takes your long string and chops it up and puts the small strings into a variant array, using the default delimiter of [space] unless you specify a different one.

    you should declare the variant array like this:

    Dim MyStrings() as Variant
    (do not set the number of elements)

    email me for more info.

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