method
Text.lower
Text.lower(s) -> string
Returns a fresh string with every ASCII letter A-Z turned to lowercase; other bytes pass through unchanged. Pair it with Text.equals for case-insensitive matching by lowercasing both sides. This is ASCII-only — accented and non-Latin letters are left as-is; for full Unicode case mapping use Unicode.lower.
Example
program Demo {
handler Step phase Update {
if Text.equals(Text.lower(cmd), "quit") { stop() }
}
}