Difference between revisions of "Removing white space and apostrophe from string"

From MyWiki
Jump to: navigation, search
(Created page with "String newStr = str.replaceAll("\\s+","-").replaceAll("'", "");")
 
(No difference)

Latest revision as of 12:46, 5 November 2014

String newStr = str.replaceAll("\\s+","-").replaceAll("'", "");