getAsString method

String getAsString ()

Converts object value into a string or returns '' if conversion is not possible.

Returns string value or '' if conversion is not supported.

See getAsStringWithDefault