Wilang Documentation1.0.0+4

string#

Create a string or convert a value to a string

Available in: math cells, REPL.

Syntax#

"text"
string(x)

Arguments and behavior#

Converts a value to text; string(5) is 5. A double-quoted literal such as "text" is the same thing written directly. Matrices and other collections are not flattened — they stay collections.

Example#

Edit the inputs, then use Run or Reset. Changes stay in this example.

Example
string(4.2)

Expected result: "4.2".

See also#

bignumber · boolean · complex · index · matrix · number · unit

All functions · Math guides