Java String Title Case toTitleCase(final int chr)

Here you can find the source of toTitleCase(final int chr)

Description

Convert a character to title case

License

Open Source License

Parameter

Parameter Description
chr the char

Return

the title case

Declaration

public static final int toTitleCase(final int chr) 

Method Source Code

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

public class Main {
    /**/*  w ww .  jav  a 2 s. co  m*/
     * Convert a character to title case
     *
     * @param chr
     *          the char
     * @return the title case
     */
    public static final int toTitleCase(final int chr) {
        return Character.toTitleCase(chr);
    }

    /**
     * Convert a character to title case
     *
     * @param chr
     *          the char
     * @return the title case
     */
    public static final char toTitleCase(final char chr) {
        return Character.toTitleCase(chr);
    }
}

Related

  1. titleCase(String str)
  2. titlecase(String str)
  3. titleCase(String txt)
  4. titleCasedName(T instance)
  5. titleCaseTruncate(String s, int maxlen)
  6. toTitleCase(final String input)
  7. toTitleCase(final String inStr)
  8. toTitleCase(final String inStr, final boolean putRestInLC)
  9. toTitleCase(final String s)