toArray: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (see also) |
m (template:command argument fix) |
||
Line 10: | Line 10: | ||
The numbers in the created array are the decimal [http://en.wikipedia.org/wiki/Unicode Unicode] representations of characters. | The numbers in the created array are the decimal [http://en.wikipedia.org/wiki/Unicode Unicode] representations of characters. | ||
|= | |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| '''toArray''' string |= | | '''toArray''' string |SYNTAX= | ||
|p1= string: [[String]] |= | |p1= string: [[String]] |PARAMETER1= | ||
| [[Array]] |= | | [[Array]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>[[hint]] format["%1",toArray("AaŒ")]</code> returns "[65,97,338]"|= | |x1= <code>[[hint]] format["%1",toArray("AaŒ")]</code> returns "[65,97,338]"|EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[set]], [[resize]], [[reverse]], [[select]], [[in]], [[find]], [[toString]], [[forEach]], [[count]], [[deleteAt]], [[deleteRange]], [[append]], [[sort]], [[param]], [[params]], [[arrayIntersect]], [[splitString]], [[joinString]], [[toLower]], [[toUpper]], [[toFixed]], [[endl]], [http://www.utf8-chartable.de/ Unicode Character Table] |= | | [[set]], [[resize]], [[reverse]], [[select]], [[in]], [[find]], [[toString]], [[forEach]], [[count]], [[deleteAt]], [[deleteRange]], [[append]], [[sort]], [[param]], [[params]], [[arrayIntersect]], [[splitString]], [[joinString]], [[toLower]], [[toUpper]], [[toFixed]], [[endl]], [http://www.utf8-chartable.de/ Unicode Character Table] |SEEALSO= | ||
}} | }} |
Revision as of 14:50, 7 April 2019
Description
- Description:
- Converts the supplied String into an Array of Numbers.
The numbers in the created array are the decimal Unicode representations of characters. - Groups:
- Uncategorised
Syntax
Examples
- Example 1:
hint format["%1",toArray("AaŒ")]
returns "[65,97,338]"
Additional Information
- See also:
- setresizereverseselectinfindtoStringforEachcountdeleteAtdeleteRangeappendsortparamparamsarrayIntersectsplitStringjoinStringtoLowertoUppertoFixedendlUnicode 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