toArray: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(add. Unicode example)
mNo edit summary
Line 13: Line 13:
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''toArray ('''[[String]]''')''' |= Syntax
| '''toArray''' string |= Syntax
 
|p1= string: [[String]] |= Parameter 1


| [[Array]] |= Return value
| [[Array]] |= Return value

Revision as of 18:05, 24 January 2009

-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
Parameters:
string: 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