count_characters This is used to count the number of characters in a variable. Parameter Position Type Required Default Description 1 boolean No &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.