Saafia NM

Saafia NM

  • NA
  • 52
  • 10.5k

Split a String into Multiple

Feb 22 2016 3:21 AM
I want to split a string by comma while choosing the chunk size.
That is  
String="abcdefghij"
chunksize=3
output=abc,def,ghi,j 
 
I have to do it in c# (asp.net ).Please help me!!!

Answers (3)