- Home /
String Parsing
I would like to convert one string (ex. "1;2;3") to multiple strings as a string array, so that I have a string array which is has the value str[1,2,3].
That means I'd like to separate the strings by semicolons (a semicolon signalizes that a new string is beginning).
Comment
Best Answer
Answer by Eric5h5 · Oct 04, 2014 at 02:43 PM
Use String.Split, which returns a string array.
Your answer
Follow this Question
Related Questions
Converting a string to an int 2 Answers
Most efficient way to convert string[] to int [] in C#? 2 Answers
Iterating through multidimensional arrays 2 Answers
Get JSON array object string value 2 Answers
C# String Array Has Missing or Incorrect Keycode Strings 2 Answers