|
-
February 10th, 2000, 11:26 AM
#1
Choping A String Up
I would like to know the code for choping up the string "N/A|Steven Craig|1234 Rd.|TheCity|CA|123456" Into an Array. Then be able to call the array and get the info from the string like so:
ArrayName(0) = N/A
ArrayName(1) = Steven Craig
ArrayName(2) = 1234 Rd.
ArrayName(3) = TheCity
ArrayName(4) = CA
Etc...
-
February 10th, 2000, 11:48 AM
#2
Re: Choping A String Up
dim Arrayname() as string
arrayname=split("N/A|Steven Craig|1234 Rd.|TheCity|CA|123456","|")
this will split up the string into the array.
Cheers.
-
February 10th, 2000, 11:51 AM
#3
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|