Arrays..

Results 1 to 2 of 2

Thread: Arrays..

  1. #1
    Join Date
    Dec 1969
    Posts
    716

    Default Arrays..

    Hiya all,<BR><BR>I currently have a variable storing names ie JohnDavidMarkAndy etc. I am planning to convert this to comma delimited data so it would appear as John, David, Mark, Andy. What I need to do is check each of these names against a single name stored in another variable. Any idea anyone? This problem really has got me stuck :/

  2. #2
    Join Date
    Dec 1969
    Posts
    190

    Default RE: Arrays..

    Why are you storing the names like that? If you did this:<BR><BR>strNames = "John,David,Mark,Andy" you could use<BR><BR>araNames = Split(strNames, ",")<BR><BR>Now, araNames contains a 0-based one dimension array with all your names...<BR><BR>You could then rejoin them using the Join() function if you wish.<BR><BR>Hope this helps<BR><BR>Chad

Posting Permissions

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