The number of bytes in your document is a pretty close approximation to how many characters are in your document. The string 12345678910 is eleven bytes, but when you hit return a new line character is created so your document would then have twelve bytes. Accented characters, such as é count as two bytes. This probably all goes out the window when one gets to Japanese and any other non-Roman language.
B.
On Apr 22, 2007, at 11:21 AM, Todd Ditchendorf wrote:
Is there currently any type of command/etc to get the character count in current doc or selection?
I see the command in the Text Bundle 'Statistics for Document (word count)' but this doesn't report the char count...
thanks!
Todd Ditchendorf
Scandalous Software - Mac XML Developer Tools http://scan.dalo.us
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate