ReactiveString extension
Extension for Reactive<String> providing common string utilities.
Properties
- isEmpty → bool
-
Available on Reactive<
Returns true if the string is empty after trimming whitespace.String> , provided by the ReactiveString extensionno setter - isNotEmpty → bool
-
Available on Reactive<
Returns true if the string is not empty after trimming whitespace.String> , provided by the ReactiveString extensionno setter
Methods
-
append(
String text) → void -
Available on Reactive<
AppendsString> , provided by the ReactiveString extensiontextto the current string. -
clear(
) → void -
Available on Reactive<
Clears the string, setting it to an empty value.String> , provided by the ReactiveString extension -
contains(
String other, {bool caseSensitive = true}) → bool -
Available on Reactive<
Checks if the string containsString> , provided by the ReactiveString extensionother. -
prepend(
String text) → void -
Available on Reactive<
PrependsString> , provided by the ReactiveString extensiontextto the current string. -
toLower(
) → void -
Available on Reactive<
Converts the string to lowercase.String> , provided by the ReactiveString extension -
toUpper(
) → void -
Available on Reactive<
Converts the string to uppercase.String> , provided by the ReactiveString extension -
trim(
) → void -
Available on Reactive<
Trims whitespace from the start and end of the string.String> , provided by the ReactiveString extension