Answered
Need help with Strings
How do I convert the string myName_btn into myName?
And can someone provide a link or tell me where I can find the actual manual for Flash CS4?
Thanks
How do I convert the string myName_btn into myName?
And can someone provide a link or tell me where I can find the actual manual for Flash CS4?
Thanks
var var1:String="myName_btn";
var var2:String = var1.split("_")[0];
and check the comments here:
http://evolve.reintroducing.com/2008/10/24/news/adobe-flash-cs4-f1-help/
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.