How to remove part of the string starting from special char (or word) in ActionScript?

Posted by Ole Jak on Stack Overflow See other posts from Stack Overflow or by Ole Jak
Published on 2010-03-19T21:38:13Z Indexed on 2010/03/19 21:41 UTC
Read the original article Hit count: 112

Filed under:
|
|
|

so I have a string "bla dla dla vre bla 54312" I want to turn it into "bla dla dla " by saying something like function(string, "vre"); how to do such thing?

© Stack Overflow or respective owner

Related posts about actionscript-3

Related posts about flash