Java String Proper Case toProperCase(String s)

Here you can find the source of toProperCase(String s)

Description

to Proper Case

License

Apache License

Declaration

public static String toProperCase(String s) 

Method Source Code

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

public class Main {
    public static String toProperCase(String s) {
        return s.substring(0, 1).toUpperCase() + s.substring(1).toLowerCase();
    }/*www.j  av a2 s .c  o m*/
}

Related

  1. toProperCase(final String s)
  2. toProperCase(final String string)
  3. toProperCase(String s)
  4. toProperCase(String s)
  5. toProperCase(String s)
  6. toProperCase(String text)
  7. toProperCase(String text)