Or you could just use indexOf().

Kenneth Kawamoto
http://www.materiaprima.co.uk/

strk wrote:
On Wed, Sep 23, 2009 at 12:40:55PM +0100, thomas horner wrote:

what i need  to know if how to say  is ;       if(event.validBranch ==
"index/nav/his" + "anything else that might follow"){

Compare a substring of event.validBranch, from start to length
of "index/nav/his".

--strk;
 Free GIS & Flash consultant/developer      ()  ASCII Ribbon Campaign
http://foo.keybit.net/~strk/services.html /\ Keep it simple!
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to