count_characters
This is used to count the number of characters in a variable.
Parameter PositionTypeRequiredDefaultDescription1booleanNo&false;This determines whether or not to include
whitespace characters in the count.count_characters
assign('articleTitle', 'Cold Wave Linked to Temperatures.');
?>
]]>
Where template is:
Will output:
See also
count_words,
count_sentences and
count_paragraphs.