Created
November 14, 2017 09:39
-
-
Save sriniind19/e710e731cf782de446e84d1d09f04f70 to your computer and use it in GitHub Desktop.
To remove the white spaces from a string
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class RemoveWhiteSpace { | |
public String remvoeWhiteSpaceFromString(String strVal) { | |
return strVal.deleteWhitespace(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment