Converting an expression to a string

### 9.4.6 Converting an expression to a string

The string can be used to convert an expression to a string. If you give it an expression as an argument, the expression will be evaluated and then converted to a string. For example, if you enter

string(ifactor(6))

the result will be the string

"2 * 3"

This is the same thing as adding the empty string to the expression;

ifactor(6) + ""

If you want to convert an unevaluated expression to a string, you can quote the expression. If you enter

string(quote(ifactor(6)))

then you will get the string

"ifactor(6)"