[SOLVED (my fault)] FindString

Just starting out? Need help? Post your questions and find answers here.
User avatar
Piero
Addict
Addict
Posts: 1135
Joined: Sat Apr 29, 2023 6:04 pm
Location: Italy

[SOLVED (my fault)] FindString

Post 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)
Last edited by Piero on Tue Dec 09, 2025 10:47 pm, edited 3 times in total.
User avatar
kenmo
Addict
Addict
Posts: 2070
Joined: Tue Dec 23, 2003 3:54 am

Re: FindString

Post by kenmo »

No bug. 3rd parameter is Start Position, not case flag.
User avatar
Piero
Addict
Addict
Posts: 1135
Joined: Sat Apr 29, 2023 6:04 pm
Location: Italy

Re: FindString

Post 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:
User avatar
mk-soft
Always Here
Always Here
Posts: 6415
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: FindString

Post 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.
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
User avatar
Piero
Addict
Addict
Posts: 1135
Joined: Sat Apr 29, 2023 6:04 pm
Location: Italy

Re: FindString

Post 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:
Post Reply