Contains string

I’m confused with the change in API 2.0
I need to search if a string is contained inside an URL.
URL = “
How to detect if “” is inside URL string. Tried IndexOf, InStr. No luck
I just want true or false

Use IndexOf >= 0 then you have true or false boolean result

tHanks, found this example

Xojo 2022r2+:

Var URL As String = ""

If URL.Contains("") Then
End If
1 Like