http://msdn.microsoft.com/zh-
CN/library/system.string.split.aspx
来自文档的示例:
string source = "[stop]ONE[stop][stop]TWO[stop][stop][stop]THREE[stop][stop]";string[] stringSeparators = new string[] {"[stop]"};string[] result;// ...result = source.Split(stringSeparators, StringSplitOptions.None);foreach (string s in result){ Console.Write("'{0}' ", String.IsNullOrEmpty(s) ? "<>" : s);}


