Saturday, May 22, 2010

Multiple white spaces in a string to single whitespace

Given a string which may contain one or multiple white spaces in between the word characters. Replace all multiple whitespaces with a single white space .

No comments:

Post a Comment