Sign in to follow this  
Followers 0
MATISZON

stirng

3 posts in this topic

#1 ·  Posted (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 by MATISZON

[size="3"][font="Arial Black"]I'm from the Polish do not as well know how English[/font][/size]

Share this post


Link to post
Share on other sites



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.)

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

Thanks for helping

This is

Edited by MATISZON

[size="3"][font="Arial Black"]I'm from the Polish do not as well know how English[/font][/size]

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0