I used strcmp(x,y) in C++. Do you know how to do that in as3?
Thanks!
If it's a simple string compare you're after, don't bother writing one yourself.
var result:int = ObjectUtil.compare("stringA","stringB");
That achieves what you're looking for.
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