This method returns the length of the string making up the current text widget contents, measured in characters.
If you need to measure separate elements of the text contents, use the PHP function strlen() instead.