toArray: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
(Not ASCII, Unicode is used.)
Line 8: Line 8:


| Converts the supplied [[String]] into an [[Array]] of [[Number|Numbers]]. <br>
| Converts the supplied [[String]] into an [[Array]] of [[Number|Numbers]]. <br>
The numbers in the created array are the decimal [http://en.wikipedia.org/wiki/Ascii ASCII] representations of characters.
The numbers in the created array are the decimal [http://en.wikipedia.org/wiki/Unicode Unicode] representations of characters.


|= Description
|= Description

Revision as of 00:22, 27 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("Aa1")] returns "[65,97,49]"

Additional Information

See also:
toString

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