toString: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Some wiki formatting) |
Lou Montana (talk | contribs) m (Text replacement - "\|seealso= ([^ ]+)\]\], \[\[" to "|seealso= $1]] [[") |
||
Line 48: | Line 48: | ||
</sqf> | </sqf> | ||
|seealso= [[set]] | |seealso= [[set]] [[resize]], [[reverse]], [[select]], [[in]], [[find]], [[toArray]], [[forEach]], [[count]], [[deleteAt]], [[deleteRange]], [[append]], [[sort]], [[param]], [[params]], [[arrayIntersect]], [[splitString]], [[joinString]], [[toLower]], [[toUpper]], [[toFixed]], [[endl]], [[format]], [[formatText]], [[toLowerANSI]], [[toUpperANSI]], [http://www.utf8-chartable.de/ Unicode Character Table] | ||
}} | }} | ||
Revision as of 12:46, 1 July 2022
Description
- Description:
- Converts the supplied Array of Numbers into a String through Unicode characters representation conversion, or provided Code to compilable String.
- Groups:
- StringsArrays
Syntax
- Syntax:
- toString array
- Parameters:
- array: Array of Numbers
- Return Value:
- String - Unicode numbers converted to String of characters
Alternative Syntax
- Syntax:
- toString code
- Parameters:
- code: Code
- Return Value:
- String - compilable String from provided code
Examples
- Example 1:
- Example 2:
- Example 3:
Additional Information
- See also:
- set resizereverseselectinfindtoArrayforEachcountdeleteAtdeleteRangeappendsortparamparamsarrayIntersectsplitStringjoinStringtoLowertoUppertoFixedendlformatformatTexttoLowerANSItoUpperANSIUnicode Character Table
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
- Posted on Feb 10, 2015 - 21:05 (UTC)
- Tabs and new lines can be created with toString [9] and toString [10], respectively. Alternatively, a new line can also be created with toString [92,110] ("\n"). If you save these strings into a variable, they can be manipulated like any other string. For example, the following code will work just fine and return the expected output:
Categories:
- Scripting Commands
- Introduced with Armed Assault version 1.09
- ArmA: Armed Assault: New Scripting Commands
- ArmA: Armed Assault: Scripting Commands
- Arma 2: Scripting Commands
- Arma 2: Operation Arrowhead: Scripting Commands
- Take On Helicopters: Scripting Commands
- Arma 3: Scripting Commands
- Command Group: Strings
- Command Group: Arrays