c샵

C# 문자열 분리방법

나도아프네 2017. 5. 8. 03:14

string s1 = "abc<>def";
             
string[] s2 = System.Text.RegularExpressions.Regex.Split(s1, "<>");