SuperString extension

on

Properties

first String

Available on String, provided by the SuperString extension

Returns the first charcter of a string
no setter
isAlpha bool

Available on String, provided by the SuperString extension

Returns true if all the characters are alphabets letter (a-z).
no setter
isInteger bool

Available on String, provided by the SuperString extension

Returns true if all the characters are int (0-9).
no setter
isLowerCase bool

Available on String, provided by the SuperString extension

Returns true if all characters in the string are in lowerCase.
no setter
isNumber bool

Available on String, provided by the SuperString extension

Returns true 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

Returns true 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 string
no setter

Methods

capitalize() String

Available on String, provided by the SuperString extension

Return a String 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 specified index in a string.
containsAll(Iterable<String> values) bool

Available on String, provided by the SuperString extension

check if this contains all the value from list
containsAny(Iterable<String> values) bool

Available on String, provided by the SuperString extension

check if this contains any one of the value from list
count(String value, [int start = 0, int? end]) int

Available on String, provided by the SuperString extension

Return the number of times a specified value appears in the string.
title() String

Available on String, provided by the SuperString extension

Returns a String 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.