Template:Str letter/doc

This is the str letter meta-template.

It takes a string as parameter, and returns its length of preceding letters. It can count up to 25 in length, and returns 25 for strings that are too long.

Examples
If the parameter is empty or undefined it is considered to be of zero length:


 * returns
 * returns
 * returns

The count is interrupted by numbers, symbols, and punctuation:


 * returns
 * returns
 * returns
 * returns
 * returns
 * returns
 * returns
 * returns
 * returns

It can measure strings up to 25 in length, and returns 25 for strings that are too long:


 * returns 24
 * returns 25