isEmpty |
(): Boolean |
Return true if length is zero |
nonEmpty |
(): Boolean |
Return true if non-zero length |
size |
(): Number |
Return text length |
toText |
(): Text |
Force text interpolation |
replace |
(old: Text, new: Text): Text |
Replace old with new |
indexOf |
(frag: Text): Number |
Get fragment index, -1 if absent |
contains |
(frag: Text): Boolean |
Check if text contains fragment |
split |
(sep: Text): List/Text |
Split text by sep into list |
toLower |
(): Text |
Return lowercase version of text |
toUpper |
(): Text |
Return uppercase version of text |
trim |
(): Text |
Return trimmed version of text |
match |
(regex: Text): Boolean |
Return text is match for regex |