Constructors
makefunction
Creates a new
RefStringfrom a string,Effect, orFx.
Derived queries
concatvariable
Concatenate a string to the current state of a RefString.
endsWithvariable
Check if the current state of a RefString ends with a substring.
includesvariable
Check if the current state of a RefString includes a substring.
lengthvariable
Get the length of the current state of a RefString.
replacevariable
Replace the first occurrence of a substring or pattern in the current state of a RefString.
replaceAllvariable
Replace all occurrences of a substring or pattern in the current state of a RefString.
slicevariable
Extract a section of the current state of a RefString.
startsWithvariable
Check if the current state of a RefString starts with a substring.
toLowerCasevariable
Convert the current state of a RefString to lowercase.
toUpperCasevariable
Convert the current state of a RefString to uppercase.
trimvariable
Trim whitespace from both ends of the current state of a RefString.
trimEndvariable
Trim whitespace from the end of the current state of a RefString.
trimStartvariable
Trim whitespace from the start of the current state of a RefString.
State models
RefStringinterface
A RefString is a RefSubject specialized over a string value.
State predicates
isEmptyvariable
Check if the current state of a RefString is empty.
isNonEmptyvariable
Check if the current state of a RefString is non-empty.