Converts the specified object to String according to the following rules:
obj
is already a String object (i.e. an instance of
java.lang.String
), the function works simply as the type cast operator,
same as in Java: (String) obj
obj
is an array
(i.e. an instance of java.lang.Object[]
),
the function returns a concatenation of the string representations
of all array elements separated with spaces.
The null
elements will be ignored and excluded
from the representation.
obj
is null
, an empty string is returned
obj.toString()
You may call this function in a more method-like style:
obj.toString()
See Also:
mergeStrings()