var llat:String = "6.23456";
if (llat.substr(0,5) == "6.234") {
trace("ok");
} else {
trace("not found");
}
- Mikko Törmälä
Hi
How can I do to find 5 caracter
in the 5 beginning caracter of var ?
Exemple :
var llat = ³6.23456²
how can I trace ³ok² if there is ³6.234² in llat var ?
if (?? == "6.234") {
trace(³ok²);
}
Thank you very much
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com