public class KotlinStringUtil
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
capitializeFirstCharacterAsciiOnly(java.lang.String s) |
static java.lang.String |
decapitializeFirstCharacterAsciiOnly(java.lang.String s) |
static java.lang.String |
decapitializeForKotlinCompiler(java.lang.String s)
Decaptialize according to the Kotlin compiler, basically first words are decapitialized.
|
public static java.lang.String capitializeFirstCharacterAsciiOnly(java.lang.String s)
public static java.lang.String decapitializeFirstCharacterAsciiOnly(java.lang.String s)
public static java.lang.String decapitializeForKotlinCompiler(java.lang.String s)
See capitializeDecapitialze.kt
"FooBar" -> "fooBar" "FOOBar" -> "fooBar" "FOO" -> "foo" "FOO_BAR" -> "foo_BAR"