ReactiveString extension

Extension for Reactive<String> providing common string utilities.

on

Properties

isEmpty bool

Available on Reactive<String>, provided by the ReactiveString extension

Returns true if the string is empty after trimming whitespace.
no setter
isNotEmpty bool

Available on Reactive<String>, provided by the ReactiveString extension

Returns true if the string is not empty after trimming whitespace.
no setter

Methods

append(String text) → void

Available on Reactive<String>, provided by the ReactiveString extension

Appends text to the current string.
clear() → void

Available on Reactive<String>, provided by the ReactiveString extension

Clears the string, setting it to an empty value.
contains(String other, {bool caseSensitive = true}) bool

Available on Reactive<String>, provided by the ReactiveString extension

Checks if the string contains other.
prepend(String text) → void

Available on Reactive<String>, provided by the ReactiveString extension

Prepends text to the current string.
toLower() → void

Available on Reactive<String>, provided by the ReactiveString extension

Converts the string to lowercase.
toUpper() → void

Available on Reactive<String>, provided by the ReactiveString extension

Converts the string to uppercase.
trim() → void

Available on Reactive<String>, provided by the ReactiveString extension

Trims whitespace from the start and end of the string.