SuperString extension
- on
Properties
- first → String
-
Available on String, provided by the SuperString extension
Returns the first charcter of a stringno setter - isAlpha → bool
-
Available on String, provided by the SuperString extension
Returnstrue
if all the characters are alphabets letter (a-z).no setter - isInteger → bool
-
Available on String, provided by the SuperString extension
Returnstrue
if all the characters are int (0-9).no setter - isLowerCase → bool
-
Available on String, provided by the SuperString extension
Returnstrue
if all characters in the string are in lowerCase.no setter - isNumber → bool
-
Available on String, provided by the SuperString extension
Returnstrue
if all the characters are alphanumeric (alphabet letter (a-z) and numbers (0-9)).no setter - isUpperCase → bool
-
Available on String, provided by the SuperString extension
Returnstrue
if all characters in the string are in upperCase.no setter -
iterable
→ Iterable<
String> -
Available on String, provided by the SuperString extension
Returns a Iterable containing all the characters of the string.no setter - last → String
-
Available on String, provided by the SuperString extension
Returns the last charcter of a stringno setter
Methods
-
capitalize(
) → String -
Available on String, provided by the SuperString extension
Return aString
with its first character UpperCase and the rest LowerCase. -
charAt(
int index) → String -
Available on String, provided by the SuperString extension
Returns the character at the specifiedindex
in a string. -
containsAll(
Iterable< String> values) → bool -
Available on String, provided by the SuperString extension
check ifthis
contains all the value fromlist
-
containsAny(
Iterable< String> values) → bool -
Available on String, provided by the SuperString extension
check ifthis
contains any one of the value fromlist
-
count(
String value, [int start = 0, int? end]) → int -
Available on String, provided by the SuperString extension
Return the number of times a specifiedvalue
appears in the string. -
title(
) → String -
Available on String, provided by the SuperString extension
Returns aString
where first character of every words is converted to upperCase. -
toCamelCase(
{bool isLowerCamelCase = false}) → String -
Available on String, provided by the SuperString extension
Convert the given string to camelCase.