|
-
Dec 11th, 2006, 04:04 PM
#1
[RESOLVED] [2005] Split
As far as i can see the string.Split method will only split on one character, i could use the Split() function carried from vb6 but isnt there a way using .net methods that split a string using more than one character as the delimiter.
Thanks
Casey.
-
Dec 11th, 2006, 04:17 PM
#2
Re: [2005] Split
Try using the .IndexOf method in conjuction with the Substring method.
-
Dec 11th, 2006, 05:09 PM
#3
Lively Member
Re: [2005] Split
you can also try regexp.split
-
Dec 11th, 2006, 05:11 PM
#4
Re: [2005] Split
I agree with cx323.
If you need to split on a char, then use the string's split method, if you want to split on a string, then use the regex's split method, it will work just fine.
-
Dec 11th, 2006, 05:44 PM
#5
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
|