Page 1 of 1

Count occurences, case sensitive?

Posted: Fri Aug 07, 2020 3:33 pm
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.

Re: Count occurences, case sensitive?

Posted: Fri Aug 07, 2020 4:36 pm
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

Re: Count occurences, case sensitive?

Posted: Fri Aug 07, 2020 5:20 pm
by Zax
Thierry wrote:
Fri Aug 07, 2020 4:36 pm
Check caseSensitive in the dictionary
Great! Merci Thierry :)