ConvertFirstLastStringExtension extension
- on
Methods
-
convertFirstCharacters(
String callback(String), {int count = 1}) → String -
Converts the first
count
characters of this string withcallback
. If this is shorter thancount
, this String is returned. -
convertLastCharacters(
String callback(String value), {int count = 1}) → String -
Converts the last
count
characters of this string withcallback
. If this is shorter thancount
, this String is returned. -
toLowerCaseFirstCharacter(
) → String - Converts the first character of the string to lower-case.
-
toUpperCaseFirstCharacter(
) → String - Converts the first character of this string to upper-case.