What it does
TrimString takes str (a string) and chars (a string), and answers a string.
Syntax
TrimString(str string, chars string) → stringParameters
| Name | Type |
|---|---|
| str | string |
| chars | string |
Every form returns
string
Example · generated
DO Print(TrimString("hello", "value")) Sync()LOOPTrimString is called and its answer is printed every frame. The DO … LOOP is not decoration: a classic BASIC program ends the moment it runs out of lines, and Sync() is what draws the frame.