Java String Capitalize capitalise(String name)

Here you can find the source of capitalise(String name)

Description

capitalise

License

Apache License

Declaration

public static String capitalise(String name) 

Method Source Code

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

public class Main {
    public static String capitalise(String name) {
        return Character.toUpperCase(name.charAt(0)) + name.substring(1);
    }//  ww w  .ja  v  a2s  .  c  o m
}

Related

  1. capitalise(final String name)
  2. capitalise(String line)
  3. capitalise(String s)
  4. capitalise(String s)
  5. capitalise(String s)
  6. capitalise(String s)