Java String Title Case toTitleCase(String original)

Here you can find the source of toTitleCase(String original)

Description

to Title Case

License

Open Source License

Declaration

public static String toTitleCase(String original) 

Method Source Code

//package com.java2s;

public class Main {

    public static String toTitleCase(String original) {
        if (original == null)
            return null;
        return Character.toTitleCase(original.charAt(0)) + original.substring(1);
    }//from   w  ww .ja  v a2  s .c  o  m
}

Related

  1. toTitleCase(String givenString)
  2. toTitleCase(String input)
  3. toTitleCase(String input, boolean eachWord)
  4. toTitleCase(String inputStr)
  5. toTitleCase(String name)
  6. toTitleCase(String original)
  7. toTitleCase(String s)
  8. toTitleCase(String s)
  9. toTitleCase(String sIn)