String Operators
Desigo CC scripting feature supports the following string operators which are part of the standard built-in ECMAScript
objects.
For more details, see http://www.ecma-international.org/ecma-262/5.1/#sec-15.5.
String
Constructor Called as a Function
When String
is called as a function rather than as a constructor, it performs a type conversion.
String ( [ value ] )
returns aString
value (not aString
object) computed byToString(value)
. If value is not supplied, the emptyString
" " is returned.
String
Constructor
When String
is called as part of a new expression, it is a constructor: it initializes the newly created object.
Internal Properties of the String Constructor |
|
|
|
|
Other Properties of the String Constructor |
|
|
|
String
Prototype Object
The String
prototype object is a String
object (its [[Class]]
is "String"
) whose value is an empty string. Its constructor is: String.prototype.constructor
.
Internal Properties of the String Prototype |
|
Other Properties of the String Prototype |
|
Methods of the String Prototype |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Properties of String
Instances
|
|
|