On Apr 4, 2005 4:40 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> exists in AS a function that retrive if a subString exists.
> For example
>
> var txt :String="CIAO MONDO";
>
> //this is not ActionScript >0 SubString exists
> if(txt.pos('MONDO')>0)
> return true;
> else
> return false;
ActionScript Dictionary:
http://www.macromedia.com/support/flash/action_scripts/actionscript_dictionary/
String.indexOf() is what you're looking for:
http://www.macromedia.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dictionary692.html
Manish
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/