image thumbnail

Count Characters

version 1.0.0 (1.23 KB) by Valerio Rubino
The function returns the number of characters in a copied text, discarding desired one.


Updated 27 Apr 2021

View License

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 and use to test your expressions).

Cite As

Valerio Rubino (2021). Count Characters (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2021a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!