[Gambas-user] InStr and gb.Case

Jussi Lahtinen jussi.lahtinen at ...626...
Mon Apr 16 18:30:59 CEST 2012


http://gambasdoc.org/help/lang/instr?v3

With this:
If InStr(sTmp, "test",, gb.Case) = 0 Then

I get error " Unexpected ','. ", argument is optional so I don't expect
this.


With this:
If InStr(sTmp, "test", 0, gb.Case) = 0 Then

I get error " Unknown symbol 'Case' in class 'gb'. ", it doesn't seem to
exist in Gambas 3, but how I then do case-insensitive comparison?


Jussi



More information about the User mailing list