Page 1 of 1

[SOLVED (my fault)] FindString

Posted: Tue Dec 09, 2025 10:06 pm
by Piero

Code: Select all

Debug FindString("Hi Fred!","fred",#PB_String_NoCase)
Debug FindString("Hi fred!","Fred",#PB_String_NoCase)
; #PB_String_NoCase: case insensitive search (A=a)
6.21 win11 ARM VM
6.30b4 Sequoia M1 (Mac)

// Moved from "Bugs - Windows" to "Coding Questions" (Kiffi)

Re: FindString

Posted: Tue Dec 09, 2025 10:16 pm
by kenmo
No bug. 3rd parameter is Start Position, not case flag.

Re: FindString

Posted: Tue Dec 09, 2025 10:25 pm
by Piero
kenmo wrote: Tue Dec 09, 2025 10:16 pm No bug. 3rd parameter is Start Position, not case flag.
Thanks kenmo! :oops: :oops: :oops:

Re: FindString

Posted: Tue Dec 09, 2025 11:44 pm
by mk-soft
Piero wrote: Tue Dec 09, 2025 10:25 pm
kenmo wrote: Tue Dec 09, 2025 10:16 pm No bug. 3rd parameter is Start Position, not case flag.
Thanks kenmo! :oops: :oops: :oops:
Hurray ... ;)
We haven't had that for a long time. You're not alone with it. Probably already 100 times the same request.

Re: FindString

Posted: Wed Dec 10, 2025 12:12 am
by Piero
mk-soft wrote: Tue Dec 09, 2025 11:44 pmWe haven't had that for a long time. You're not alone with it. Probably already 100 times the same request.
I did a (quick) search for (recent) PB_String_NoCase bug posts… that must be why I found nothing…
…in any case, WHAT A HORRIBLE NOOB THING I POSTED! :oops: :oops: :oops: :oops: :oops: :oops: