valuea plus valueb: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (moved to template) |
||
Line 4: | Line 4: | ||
[[Category:Scripting Commands ArmA|#]] | [[Category:Scripting Commands ArmA|#]] | ||
{{Command|= Comments | |||
____________________________________________________________________________________________ | |||
| ofp |= Game name | |||
|1.00|= Game version | |||
____________________________________________________________________________________________ | |||
| valuea and valueb are concatenated |= Description | |||
____________________________________________________________________________________________ | |||
'''valueb | | '''valuea plus valueb''' |= Syntax | ||
|p1 =valuea: [[String]] or [[Array]] | |||
[[String]] or [[Array]] | |p2 =valueb: [[String]] or [[Array]] | ||
''' | |[[String]] or [[Array]] |= Return value | ||
____________________________________________________________________________________________ | |||
| x1= <code>[[String]] concatentation - "I" '''+''' " am" '''+''' " blind" </code> | |||
Result is "I am blind" | |||
|x2 = <code>[[Array]] concatenation - [0, 1, 2] '''+''' [1, 2, 3]</code> | |||
Result is [0, 1, 2, 1, 2, 3] | |||
| |= See also | |||
}} | |||
<h3 style="display:none">Notes</h3> | |||
<dl class="command_description"> | |||
<!-- Note Section BEGIN --> | |||
<!-- Note Section END --> | |||
</dl> | |||
<h3 style="display:none">Bottom Section</h3> | |||
[[Category:Command_Group:_Variables|#]] | [[Category:Command_Group:_Variables|#]] |
Revision as of 04:14, 12 August 2006
Description
- Description:
- valuea and valueb are concatenated
- Groups:
- Uncategorised
Syntax
- Syntax:
- valuea plus 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:
- 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