Ankit  Shukla

Ankit Shukla

  • NA
  • 681
  • 116.9k

split a string

Dec 11 2015 6:41 AM
Hello;
 
     Suppose I have a string like: 
 
"Ministry Of Labour and Employment"
 
 I need to split string after 20 characters, then sub strings are "Ministry Of Labour a" and "nd Employment" . How can I convert it in "Ministry Of Labour" and "and Employment"
 
 Thanks in advance.

Answers (17)