Java Utililty Methods String Camel Case Format

List of utility methods to do String Camel Case Format

Description

The list of methods to do String Camel Case Format are organized into topic(s).

Method

StringtoCamelCaseVar(String s)
to Camel Case Var
if (s == null) {
    return null;
StringBuffer in = new StringBuffer(s);
while (in.indexOf("_") != -1) {
    int x = in.indexOf("_");
    in.replace(x, x + 2, in.substring(x + 1, x + 2).toUpperCase());
return in.toString();