Hi guys I have to port a few functions from AS to PHP, but I ran into a small problem.
There's an array, lets called it arr1. There is a switch, that pushes argument to this array, but after the switch ends, I'm stuck at join("").split("");
var arr1 = [];
switch (myString)
{
case "apple":
{
arr1.push("apple");
break;
}
}
}
arr1 = arr1.join("").split("");
I know is simple, but i never had experience with arrays in flash before, I just realized join("") was used to convert the Array to string, but isn't split reversing this?