File Exchange

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.

0 Downloads

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 https://it.mathworks.com/help/matlab/ref/regexp.html and use https://regex101.com/ to test your expressions).

Cite As

Valerio Rubino (2021). Count Characters (https://www.mathworks.com/matlabcentral/fileexchange/91110-count-characters), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (0)

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!