Page tree
Skip to end of metadata
Go to start of metadata



Introduced in

Version:1.00

Description

Description:Converts any variable to a string.

Syntax

Syntax:str value
Parameters:
Return Value:String

Examples

Examples:
str(2+3) // result is "5"

Additional Information

See also: parseNumber
Multiplayer:
Problems:

Notes





When applied to a unit, this returns the variable name that was assigned to the unit in the editor. For example, if you have created a playable unit with the name 'thePlayer' then you can use 'str player' to return "thePlayer" ; Sbsmac