csharp split text by spaces
Code Example - csharp split text by spaces
string[] temp = yourString.Split(' ');
label1.Text = temp[0];
label2.Text = temp[1];
label3.Text = temp[2];
c sharp split string
// To split a string use 'Split()', you can choose where to split
string text = "Hello World!"
string[] textSplit = text.Split(" ");
// Output:
// ["Hello", "World!"]
parse strings into words csharp
string text = "Hello World!"
string[] textSplit = text.Split();