Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- string text = "Cлова каждое на новой строке.";
- string[] words;
- char splitter = ' ';
- words = text.Split(splitter);
- foreach (var word in words)
- Console.WriteLine($"{word}");
- Console.ReadKey();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement