str
Any value as text, exactly as it prints: str(1/3) is "1/3". A number written as a decimal, str(1.2), or rounded to places, str(round(x, 2)), reads as a decimal ("1.2", "0.25") when its decimal ends.
value(any) -- the value
Any value as text, exactly as it prints: str(1/3) is "1/3". A number written as a decimal, str(1.2), or rounded to places, str(round(x, 2)), reads as a decimal ("1.2", "0.25") when its decimal ends.
value (any) -- the valueReads text as a number, exactly: num("3/4") is 3/4, num("2.5e3") is 2500. A decimal() value is the number its digits name (num(decimal(5, 2))*2 is 10), a number itself.
s (text) -- digits, a fraction or a decimal; or a decimal() valueThe text in capital letters.
s (text) -- the textThe text in small letters.
s (text) -- the textThe text without spaces at either end.
s (text) -- the textA list of the pieces of the text between separators (runs of spaces when none is given; "" splits into characters).
s (text) -- the textsep (text) -- optional separatorThe items of an array or list as one text, with a separator between them.
xs (array) -- an array or listsep (text) -- optional separatorThe text with every occurrence of one piece replaced by another.
s (text) -- the textold (text) -- what to replacenew (text) -- the replacementWhether the text begins with the given piece.
s (text) -- the textpart (text) -- the beginning to testWhether the text ends with the given piece.
s (text) -- the textpart (text) -- the ending to testThe text the page passed for the name with this run (set_param "name=value" before the run, the channel a slider's value comes by), else the default, else "". Not a control: nothing is shown and nothing is asked; the page decides what it passes. Works in the public wasm as in the cloud (not gated). The usual use is the kept chart layout, applyLayout(g, param("layout", "")), which the browser plotter's exportSvg passes under that name; a symbol, an interval or a title can come the same way.
name (text) -- the name the page passes the text underdefault (text) -- (optional) the text when the page passed none