- Home /
This post has been wikified, any user with enough reputation can edit it.
Best Answer
Answer by Landern · Jan 21, 2015 at 03:07 AM
MSDN Documentation on string.Split
string theText = "hello\nHow\r\nAre\nYou\n?";
string[] splitString = theText.Split(new string[] { "\r\n", "\n" }, StringSplitOptions.None);
Your answer
Follow this Question
Related Questions
changing GUI Button text with a string array 2 Answers
Converting Text to a String Array Format 2 Answers
Coloring separate text in string array 1 Answer
How can I detecting whether certain characters appear in any strings in my array of strings? 1 Answer
Creating a String Array from a text file,Creating a StringArray from a TextAsset 1 Answer