[Date Prev][Date Next][Subject Prev][Subject Next][ Date Index][ Subject Index]

Re: Countchars



Carl,
Very useful and it works very well! After some testing, I have only a doubt:

;*;  COUNTCHARS -"aBc" excludes chars a, B and c
;*;  (double quotes required)
In several cases, I have used against the same piece of text COUNTCHARS and COUNTCHARS -"abc", obtaining a difference of 1, with apparent mistake. Let me explain: I obtain an output of 64 characters (after COUNTCHARS) and an output of 57 (after COUNTCHARS -"abc"), but the ocorrences of "a" and "b" and "c" in the selected piece of text are 6, not 7. To verify this behaviour, please compose a piece of text with 76 characters (75 "a" and 1 "b"):
Countchars: 76 (OK).
Countchars -"a": 1 (OK).
Countchars -"b": 74 (wrong).
Please let me know if you are able to reproduce this error.
Best regards,
Manuel Castelao