You need to sign in to do that
Don't have an account?
timarp
String split help
This is probably an easy one, but I am kind of lost when it comes to regular expressions
So this is the string I have
0.0|||||||1.0|Arizona;California;||||||
The | is a "|" sign.
I would like to be able to split the string on that character. I was reading about the String.split() method, however some concrete example would be appreciated. Thanks!
Try this out:
If a reply to a post answers your question or resolves your problem, please mark it as the solution to the post so that others may benefit.
Madhan Raja M
Madhan,
I tried this myString.Split('\|') and it worked. I simply had to escape the '|' sign. Thank you for pointing me in the right direction