str: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
[[Category:Scripting Commands|STR]]
{{Command|= Comments
[[Category:Scripting Commands ArmA|STR]]
____________________________________________________________________________________________


| ofp |= Game name


<h2 style="color:#000066">'''str ''any value'''''</h2>
|1.00|= Game version
____________________________________________________________________________________________


| Converts any variable to a string. |= Description
____________________________________________________________________________________________


'''Operand types:'''
| '''str''' any value |= Syntax


'''any value:''' [[Anything]]
|p1= any value: [[Anything]] |= Parameter 1


'''Type of returned value:'''
| [[String]] Compatibility Version 2.00 required. |= Return value
____________________________________________________________________________________________
 
|x1= <pre>str(2+3) , result is "5"</pre> |= Example 1
____________________________________________________________________________________________


[[String]]
|  |= See also


'''Compatibility'''
}}


Version 2.00 required.
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


'''Description:'''
<!-- Note Section END -->
</dl>


Converts any variable to a string.
<h3 style="display:none">Bottom Section</h3>
 
[[Category:Scripting Commands|STR]]
 
[[Category:Scripting Commands ArmA|STR]]
'''Example:'''
 
'''str'''(2+3)  , result is "5"

Revision as of 23:53, 1 August 2006

Hover & click on the images for description

Description

Description:
Converts any variable to a string.
Groups:
Uncategorised

Syntax

Syntax:
str any value
Parameters:
any value: Anything
Return Value:
String Compatibility Version 2.00 required.

Examples

Example 1:
str(2+3) , result is "5"

Additional Information

See also:
See also needed

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section