toArray: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Not ASCII, Unicode is used.)
(add. Unicode example)
Line 18: Line 18:
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= <code>[[hint]] format["%1",toArray("Aa1")]</code> returns "[65,97,49]"|= Example 1
|x1= <code>[[hint]] format["%1",toArray("AaŒ")]</code> returns "[65,97,338]"|= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[toString]] |= See also
| [[toString]]<br>
[http://www.utf8-chartable.de/ Unicode Character Table] |= See also


}}
}}

Revision as of 03:14, 28 December 2007

-wrong parameter ("Arma") defined!-1.09
Hover & click on the images for description

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

Syntax:
toArray (String)
Return Value:
Array

Examples

Example 1:
hint format["%1",toArray("AaŒ")] returns "[65,97,338]"

Additional Information

See also:
toString
Unicode 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

Notes

Bottom Section