Thursday, 23 June 2011

How to split a string

string abc = "D1.23:ManojThakur";

 sring xyz = abc.Split('.')[0]  //D1

string z= abc.split(':')[1] // 23:ManojThakur

No comments:

Post a Comment