in reply to Re^2: Counting how many times a character is in a string.
in thread Counting how many times a character is in a string.
If the REPLACEMENTLIST is empty, the SEARCHLIST is replicated. This latter is useful for counting characters in a classFurthermore, this used to effectively replace characters by themselves, causing it to fail on read-only values, but that has been fixed. Now tr/%// merely counts.
|
|---|