ToString

< [[::Category:Functions|Category:Functions]]

A function added by the Oblivion Script Extender.

Syntax:

(string) ToString expr

Attempts to convert an expression to a string.

For numeric expressions, the result is a string representation of the numeric value.

For objects, it is the name of the object if available; otherwise it is the formID expressed in hexadecimal notation.

For string expressions no conversion is necessary.