valuea plus valueb: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (#)
mNo edit summary
Line 38: Line 38:


[[Category:Scripting Commands|#]]
[[Category:Scripting Commands|#]]
[[Category:Scripting Commands OFP 1.99]]
[[Category:Scripting Commands OFP 1.96|#]]
[[Category:Scripting Commands OFP 1.96|#]]
[[Category:Scripting Commands OFP 1.46|#]]
[[Category:Scripting Commands OFP 1.46|#]]

Revision as of 08:23, 25 September 2014

Hover & click on the images for description

Description

Description:
valuea and valueb are concatenated
Groups:
Uncategorised

Syntax

Syntax:
valuea + valueb
Parameters:
valuea: String or Array
valueb: String or Array
Return Value:
String or Array

Examples

Example 1:
String concatentation - "I" + " am" + " blind" Result is "I am blind"
Example 2:
Array concatenation - [0, 1, 2] + [1, 2, 3] Result is [0, 1, 2, 1, 2, 3]

Additional Information

See also:
a plus bOperators

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