Count Characters
This function is of help if you want to count the characters of a text without considering some (e.g. special characters, citations, ...).
To use it, copy the text and just run the function.
If you want to exclude characters, you need to pass a regular expression (e.g. '( ){0,1}\[.*?\]' removes Zettlr inline citations) as argument (see https://it.mathworks.com/help/matlab/ref/regexp.html and use https://regex101.com/ to test your expressions).
Cite As
Valerio Rubino (2024). Count Characters (https://www.mathworks.com/matlabcentral/fileexchange/91110-count-characters), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0 |