J
Jay Nesbitt
Is there a quick way to extract tokens from a string of text? I know Java
provides a StringTokenizer class to do this. Is there something similar in
the dot net framework?
Ex.
string s = "some text then #token1# and then #token2#";
string[] tokens = tokenizer.GetTokens(s, "#");
The contents of the tokens array would then be token1 and token2.
Thanks!
provides a StringTokenizer class to do this. Is there something similar in
the dot net framework?
Ex.
string s = "some text then #token1# and then #token2#";
string[] tokens = tokenizer.GetTokens(s, "#");
The contents of the tokens array would then be token1 and token2.
Thanks!