Converts an object to and from a string representation.
2.0
Casts this object to the specified type. Throws error on failure.
The target type of the cast.
The type of the object to cast.
The type to cast to.
Casts this object to the specified type. Returns null on failure.
Converts an object to a string representation.
The object to convert.
A string representation.
Formats an invalid value with an optional error string.
An error string. Optional (may be null).
A string value
Converts a string representation to an object.
The string to convert.
An object.
Converts a string representation to an object. A return value indicates whether the conversion succeeded or failed.
The object that is the result of the conversion.
true if str was converted successfully; otherwise, false.
Converts an object to and from a string representation.
Since
2.0