mirror of
https://github.com/Ttanasart-pt/Pixel-Composer.git
synced 2025-01-12 15:26:33 +01:00
7 lines
178 B
Text
7 lines
178 B
Text
|
function string_to_array(str) {
|
||
|
var amo = string_length(str);
|
||
|
var arr = array_create(amo);
|
||
|
for( var i = 0; i < amo; i++ )
|
||
|
arr[i] = string_char_at(str, i + 1);
|
||
|
return arr;
|
||
|
}
|