tommytx 0 Posted May 21, 2010 I frequetly use "instr" in vB6 and vbs, but autoit complains. Can anyone tell me what can be used to substitute this please. Here is what I am doing..for example. For $link In $links $cnt=0 if inStr($link.outerHTML, "class=s") then $cnt=$cnt+1 if inStr($link.outerHTML, "tabIndex=1") then $cnt=$cnt+1 if instr($link.outerHTML, "maxLength=11") then $cnt=$cnt+1 if instr($link.outerHTML, "size=3") then $cnt=$cnt+1 if $cnt=4 then $link.value=$price next Thanks in advance. Share this post Link to post Share on other sites
Mobius 89 Posted May 21, 2010 (edited) ~ Edited March 2, 2011 by Mobius Share this post Link to post Share on other sites
tommytx 0 Posted May 22, 2010 Thanks that worked perfect. Share this post Link to post Share on other sites