String.valueOf

Returns the primitive value of a String object.

Method of String

Syntax

valueOf()

Parameters

None

Description

The valueOf method of String returns the primitive value of a String object as a string data type. This value is equivalent to String.toString.

This method is usually called internally by MetaScript and not explicitly in code.

Examples

See also

String.toString, Object.valueOf

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.