Language Reference Guide : 6. Functions : Core Library Functions : ToString Function
 
Share this page                  
ToString Function
The ToString function returns a StringObject containing the varchar value passed to the function. The target StringObject can be passed with the varchar value it is to contain.
This function has the following syntax:
StringObject = ToString(text = value[, string = value])
Arguments
Data Type
Description
text
Varchar()
A varchar value of any size up to the maximum supported
string
StringObject
(Optional) The StringObject that will be returned, if provided
Example—ToString function:
fileString = ToString(text = 'c:\temp\temp.txt')