UtilityString extension
Properties
-
asciiWords
→ List<String>
-
Returns list of
ascii words
from the string
no setter
-
camelCase
→ String
-
Converts the string to
camelCase
.
no setter
-
capitalize
→ String?
-
Converts the first character of string to
upper case
and the remaining to lower case
.
no setter
-
deburr
→ String
-
Converts string from
Latin-1
to normal basic latin letters
no setter
-
enumVal
→ String?
-
Returns the
value
of the enum
no setter
-
hasUnicodeWord
→ bool
-
Returns
true
if string contains any occurence of unicode word
other-wise false
no setter
-
isBinary
→ bool
-
returns
true
if the string
is binary
, other-wise false
no setter
-
isDecimal
→ bool
-
returns
true
if the string
is decimal
, other-wise false
no setter
-
isHex
→ bool
-
returns
true
if the string
is good hex
, other-wise false
no setter
-
isNumber
→ bool
-
returns
true
, if the string
is number
other-wise false
no setter
-
isOctal
→ bool
-
returns
true
if the string
is octal
, other-wise false
no setter
-
lowerFirst
→ String?
-
Converts the first character of string to lower case.
no setter
-
toNumber
→ num?
-
Trims the value and then converts it to number
no setter
-
unicodeWords
→ List<String>
-
Returns list of
unicode words
from the string
no setter
-
upperFirst
→ String
-
Converts the first character of string to
upper case
.
no setter