Java String Camel Case Format toCamelCase(String origString)

Here you can find the source of toCamelCase(String origString)

Description

to Camel Case

License

Apache License

Declaration

public static String toCamelCase(String origString) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

public class Main {
    public static String toCamelCase(String origString) {
        StringBuffer buffer = new StringBuffer();
        buffer.append(Character.toUpperCase(origString.charAt(0)));
        buffer.append(origString.substring(1));
        return buffer.toString();
    }//from   ww w  . j a  v  a  2 s.  c o m
}

Related

  1. toCamelCase(String name)
  2. toCamelCase(String name)
  3. toCamelCase(String name)
  4. toCamelCase(String original)
  5. toCamelCase(String originalName)
  6. toCamelCase(String s)
  7. toCamelCase(String s)
  8. toCamelCase(String s)
  9. toCamelCase(String s)