RxnStringExt extension
Properties
-
codeUnits
→ List<
int> ? -
Available on Rx<
Returns an unmodifiable list of the UTF-16 code units of this string.String?> , provided by the RxnStringExt extensionno setter - isEmpty → bool?
-
Available on Rx<
Returns true if this string is empty.String?> , provided by the RxnStringExt extensionno setter - isNotEmpty → bool?
-
Available on Rx<
Returns true if this string is not empty.String?> , provided by the RxnStringExt extensionno setter - runes → Runes?
-
Available on Rx<
Returns an Iterable of Unicode code-points of this string.String?> , provided by the RxnStringExt extensionno setter
Methods
-
allMatches(
String string, [int start = 0]) → Iterable< Match> ? -
Available on Rx<
String?> , provided by the RxnStringExt extension -
compareTo(
String other) → int? -
Available on Rx<
String?> , provided by the RxnStringExt extension -
contains(
Pattern other, [int startIndex = 0]) → bool? -
Available on Rx<
Returns true if this string contains a match ofString?> , provided by the RxnStringExt extensionother
: -
endsWith(
String other) → bool? -
Available on Rx<
Returns true if this string ends withString?> , provided by the RxnStringExt extensionother
. For example: -
indexOf(
Pattern pattern, [int start = 0]) → int? -
Available on Rx<
Returns the position of the first match ofString?> , provided by the RxnStringExt extensionpattern
in this string -
lastIndexOf(
Pattern pattern, [int? start]) → int? -
Available on Rx<
Returns the starting position of the last matchString?> , provided by the RxnStringExt extensionpattern
in this string, searching backward starting atstart
, inclusive: -
matchAsPrefix(
String string, [int start = 0]) → Match? -
Available on Rx<
String?> , provided by the RxnStringExt extension -
padLeft(
int width, [String padding = ' ']) → String? -
Available on Rx<
Pads this string on the left if it is shorter thanString?> , provided by the RxnStringExt extensionwidth
. -
padRight(
int width, [String padding = ' ']) → String? -
Available on Rx<
Pads this string on the right if it is shorter thanString?> , provided by the RxnStringExt extensionwidth
. Return a new string that appendspadding
after this string one time for each position the length is less thanwidth
. -
replaceAll(
Pattern from, String replace) → String? -
Available on Rx<
Replaces all substrings that matchString?> , provided by the RxnStringExt extensionfrom
withreplace
. -
split(
Pattern pattern) → List< String> ? -
Available on Rx<
Splits the string at matches ofString?> , provided by the RxnStringExt extensionpattern
and returns a list of substrings. -
startsWith(
Pattern pattern, [int index = 0]) → bool? -
Available on Rx<
Returns true if this string starts with a match ofString?> , provided by the RxnStringExt extensionpattern
. -
substring(
int startIndex, [int? endIndex]) → String? -
Available on Rx<
Returns the substring of this string that extends fromString?> , provided by the RxnStringExt extensionstartIndex
, inclusive, toendIndex
, exclusive -
toLowerCase(
) → String? -
Available on Rx<
Converts all characters in this string to lower case. If the string is already in all lower case, this method returnsString?> , provided by the RxnStringExt extensionthis
. -
toUpperCase(
) → String? -
Available on Rx<
Converts all characters in this string to upper case. If the string is already in all upper case, this method returnsString?> , provided by the RxnStringExt extensionthis
. -
trim(
) → String? -
Available on Rx<
Returns the string without any leading and trailing whitespace.String?> , provided by the RxnStringExt extension -
trimLeft(
) → String? -
Available on Rx<
Returns the string without any leading whitespace.String?> , provided by the RxnStringExt extension -
trimRight(
) → String? -
Available on Rx<
Returns the string without any trailing whitespace.String?> , provided by the RxnStringExt extension
Operators
-
operator +(
String val) → String -
Available on Rx<
String?> , provided by the RxnStringExt extension