I’m trying to break a string into an array at the " " character, and append that string to a UI Text object on button click. I found examples for Javascript but not for C#.
MSDN Documentation on string.Split
string theText = "hello
How
Are
You
?";
string splitString = theText.Split(new string { "
", "
" }, StringSplitOptions.None);