Converts a string to an array containing the ASCII code of each character.
StringToASCIIArray ( "string", [start [, end [, encoding]]] )
| "string" | The string to convert to an array of ASCII codes. |
| start | [optional] The 0-based position to start processing from (Default: 0). |
| end | [optional] The 0-based position to end processing at (Default: StringLen("string")). |
| encoding | [optional] The returned array will contain values in the specified character set: 0 - UTF-16 (Default) 1 - ANSI 2 - UTF-8 |
| Success: | An array where each element is the UNICODE code of the character at the corresponding position. |
| Failure: | Returns an empty string. |
#include <Array.au3> ; For _ArrayDisplay()
Local $a = StringToASCIIArray("abc")
_ArrayDisplay($a)