Split string into Array


/ Published in: ActionScript 3
Save to your folder(s)

Easily breaks a string into an array of words.

*If your string has special characters such as latin, add those characters to the r var. Just like var r:RegExp = /[^\wçàáâãèéêìíîòóôõùúûüÀÁÇÂÃÈÉÊÌÍÎÒÓÔÕÙÚÛÜ¡]+/g;

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.