toArray

From Bohemia Interactive Community
Revision as of 16:07, 17 January 2021 by Lou Montana (talk | contribs) (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "")
Jump to navigation Jump to search
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:
StringsArrays

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:
setresizereverseselectinfindtoStringforEachcountdeleteAtdeleteRangeappendsortparamparamsarrayIntersectsplitStringjoinStringtoLowertoUppertoFixedendltoLowerANSItoUpperANSIUnicode 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

Bottom Section