MATISZON Posted September 28, 2009 Posted September 28, 2009 (edited) how can I find a string in an array? Ex $k = _IEBodyReadText($IE) $c = "Cena" If $k = $c Then ;not works MsgBox(0, "1", $k) EndIf Edited September 28, 2009 by MATISZON [size="3"][font="Arial Black"]I'm from the Polish do not as well know how English[/font][/size]
memoryoverflow Posted September 28, 2009 Posted September 28, 2009 Perhaps you're looking for StringInStr(_IEBodyReadText($IE), "Cena")_IEBodyReadText() returns a string rather than an array.f you really want to search through an array, you could use ArrayConcatenate() before the test. (The signature is placed on the back of this page to not disturb the flow of the thread.)
MATISZON Posted September 28, 2009 Author Posted September 28, 2009 (edited) Thanks for helping This is Edited September 28, 2009 by MATISZON [size="3"][font="Arial Black"]I'm from the Polish do not as well know how English[/font][/size]
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now