I think what you are looking for is: txt.indexOf("IA")
 
You can read more here:
 http://livedocs.macromedia.com/flex/15/flex_docs_en/00001706.htm
 
Dimitrios "Jimmy" Gianninas
RIA Developer
Optimal Payments Inc.
 


From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Devis
Sent: Friday, August 12, 2005 8:25 AM
To: [email protected]
Subject: [flexcoders] ActionScript "POS" function

Hi, exits in ActionScript a function like this
String txt="CIAO";
if(txt.Pos('IA') > 0)
  return true;

Bye Devis

ps.
can you give this example in ActionScript thank's



>



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




YAHOO! GROUPS LINKS




Reply via email to