Friday 18 October 2013

split by space in java

split by space in java

str.split("\\s+");

This will split by space.

No comments:

Post a Comment