namespace Test { internal class Program { static void Main(string[] args) { // 기본적인 공백기준 확인방법 // Split은 해당부분을 기준으로 나눈다 string str = "hello world!"; string[] strings = str.Split(' '); for(int i = 0; i < strings.Length; i++) { Console.WriteLine($"{i} = {strings[i]}"); } Console.WriteLine(); Console.WriteLine(); // 그런데 위에 방식대로 단순 Split를 쓸경우 // 아래와 같이 다중으로 공백이 들어가면 문제발생 str = " hello world! "; strin..