decapitalize

fun String.decapitalize(locale: Locale = Locale.US): String(source)

Decapitalizes the first character of this String using the specified locale.

Receiver

The original String.

Return

The string with the first character decapitalized.

Parameters

locale

The Locale to be used for decapitalization. Defaults to Locale.US.