Count occurences, case sensitive?

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller

Post Reply
Zax
Posts: 519
Joined: Mon May 28, 2007 10:12 am
Contact:

Count occurences, case sensitive?

Post by Zax »

Hello,

I'm using replaceText() function to replace some string with another in a text, case sensitive, and I would like to inform the user about how many replacements have been done. Or, at least, how many occurences will be found (and replaced).
All ...offset() functions I found are case insensitive. So, is there a simple way to do that?

Thank you.
Thierry
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 875
Joined: Wed Nov 22, 2006 3:42 pm

Re: Count occurences, case sensitive?

Post by Thierry »

Zax wrote: Fri Aug 07, 2020 3:33 pm All ...offset() functions I found are case insensitive. So, is there a simple way to do that?
Bonjour Zax,

Check caseSensitive in the dictionary

Thierry
!
SUNNY-TDZ.COM doesn't belong to me since 2021.
To contact me, use the Private messages. Merci.
!
Zax
Posts: 519
Joined: Mon May 28, 2007 10:12 am
Contact:

Re: Count occurences, case sensitive?

Post by Zax »

Thierry wrote: Fri Aug 07, 2020 4:36 pmCheck caseSensitive in the dictionary
Great! Merci Thierry :)
Post Reply