phreakthoughts
Search My Blog
Wednesday, November 30, 2011
Removing blank spaces from a String in Java
sText= sText.replaceAll("\\s+", "");
Reference -
http://www.mkyong.com/java/how-to-remove-whitespace-between-string-java/
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment