1. Split Function in C#
Sample code:
string test = "afdas.;asdas.;asd";
string[] test1 = test.Split(';'); //For Character
string[] test2 = test.Split(new string[] { ".;" }, StringSplitOptions.None); //For String
15 years ago
C#, ASP.Net, WCF, WPF, Web Services, etc...
No comments:
Post a Comment