How can I check if a string contains another string in flash / Actionscript 3 ?
Thanks for help.
var a = "hello world";
if(a.indexOf("world") >= 0){
//It contains the String!
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With