String Seach Replace AS3

Posted by Ross on Stack Overflow See other posts from Stack Overflow or by Ross
Published on 2010-04-13T13:29:05Z Indexed on 2010/04/13 13:33 UTC
Read the original article Hit count: 378

Filed under:
|
|
|
|

I have a bit of text

"this is the text want I want to do is replace the text, I have just added another is for good measure"

This is stored as a standard string but I want to turn this into html and add css classes like, in this example wrapping around the word "is";

"this is the text want I want to do is replace the text, I have just added another is for good measure"

Any ideas how I can do this in as3?

© Stack Overflow or respective owner

Related posts about as3

Related posts about actionscript