Android examples for java.lang:String Case
convert string separated by underscore To Title Case
public class Main{ public static String convertToTitleCase(String input) { String[] parts = input.split("_"); String camelCaseString = ""; for (String part : parts) { camelCaseString = camelCaseString + toProperCase(part); }//w w w.ja v a 2 s . co m return camelCaseString; } }