StringExtension extension
- on
Methods
-
ucfirst(
) → String -
Available on String, provided by the StringExtension extension
Make first character uppercase. e.g hello -> Hello -
underscoreCase(
) → String -
Available on String, provided by the StringExtension extension
Replace space and hyphen with underscore, adds underscore between lower and upper case characters, and returns string as lower case characters. e.g. Hello world -> hello_word, HelloWorld -> hello_world