ToString

toString(LongString a)

This function converts a long string to a string.

Parameter

a - A LongString value.

Return value

The return value is a String.

Examples

The return value of the following statement is a.

LongString a=toLongString("a");
string b="b";
if (b > toString(a)) then
return a
else
return toLongString(b);