to_string function
Write a value as a string.
How to write it
to_string(expr)
- expr
- Any expression: a number, a formula, a list or a matrix. Takes an expression.
Examples
to_string(12 + 1)In the solver,
Open in the solverto_string(12 + 1)gives"13".
Related functions
- is_string
Test whether a value is a string.
- string_length
Number of characters in a string.
- string_join
Join strings into one.