Charcount
From Sonic Retro
Revision as of 19:19, 1 January 2022 by BSonirachi (talk | contribs) (Text replacement - "Category:Sonic Retro templates" to "Category:Templates")
Revision as of 19:19, 1 January 2022 by BSonirachi (talk | contribs) (Text replacement - "Category:Sonic Retro templates" to "Category:Templates")
This template counts the instances of a specified character (or another string) in a string. Note that it is case-sensitive.
Usage
{{charcount|She sells sea shells.|e}}
returns:
4