Guide
Text & interpolation
There is one way to compose text: interpolation. "{expr}" evaluates any expression into the string — Text has no + operator.
let raw = " Poly, Tone "
let clean = raw.trim()
print(clean.upper())
print("{clean.split(", ")}")
print("{clean.len()} chars, starts with Poly: {clean.starts_with("Poly")}")$ ptc run text.pt
Recorded output of the real compiler
Text methods cover the everyday needs: len, upper, lower, trim, contains, starts_with, ends_with, split, replace, chars, and the fallible parsers to_int / to_float, which return an Option instead of throwing. The full list lives in the Prelude explorer.