Microsoft SDK for Java

Utils.decapitalize

Converts the first letter of a string to lowercase.

Syntax

public static String decapitalize( String name )

Parameters

name

The string to convert to lowercase.

Return Value

Returns the string with the first letter in lowercase.

Remarks

This method converts the first letter of the string to lowercase if the second letter is lowercase.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.