Example: This is my string,
String sample = "random";
If the first character of the string contains 's' or 'p' or 'r' means i should remove the character,Otherwise i have to return the original string.
Is there any optimized way to do that like "regex" or "StringUtils" in apache common?
Anonymous User
17-Oct-2014