본문 바로가기

Web/ASP

ASP.NET 문자열 자르기


            string[] url_array = new string[10];

            char split_str = '/';

            url_array = url.Split(split_str);




Split 는 변수는 char형(array 포함)

리턴은 string array형으로 반환