Hello. I have a new blog.

I've moved this blog to the following URL Kerkness.ca. Thank you for visiting, please update your bookmarks.

Thursday, April 17, 2008

PHP explode() function in Actionscript for Flex

If you're a long time PHP programmer who has made the leap to building Flex based RIA applications in Flex you are probably asking yourself from time to time "how do I do a xxxxx function in actionscript". Well if you were recently wondering this about the PHP explode() function, here's your answer.

public function explode( delimiter:String, str:String ):Array
{
return str.split( delimiter );
}

1 comment:

Thank you for the comments.