Jump to content

Recommended Posts

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]

Posted

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

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]

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...