Siebel eScript Language Reference > Siebel eScript Commands > Buffer Object Methods >
toString() Method
This method returns a string containing the same data as the buffer. Syntax
bufferVar.toString()
Returns
A string object that contains the same data as the Buffer object. Usage
This method returns a string whose contents are the same as that of bufferVar. Any conversion to or from Unicode is done according to the unicode flag of the object. Example
try { do_something; } catch( e ) { TheApplication().RaiseErrorText(Clib.rsprintf( "Something bad happened: %s\n",e.toString())); }
|