nullToEmptyString
String sutil.nullToEmptyString ( Object object )
Description
Get an object in string format.
Parameters
- object Object to be returned in string format.
Return Values
Returns an empty string if the value of the object is null; otherwise, returns the value of the toString method of the object.
Change Log
Version | Description |
---|---|
5.0 | Added for all editions. |
Examples
Get String Value of Variable
// Always Specify Suffix even if not selected
suffix = sutil.nullToEmptyString( session.getv( "SUFFIX" ) );
suffix = sutil.nullToEmptyString( session.getv( "SUFFIX" ) );
scraper on 07/16/2010 at 5:20 pm
- Printer-friendly version
- Login or register to post comments