WordCount (or Wordcount)

Tinderbox Icon


Attribute Data Type:   number
Attribute Default Value:   (not set - 0)
Atrribute Group:   Textual
Attribute Inherited from Preferences?     No
Attribute Read-Only?   Yes

Note: beware the lack of Caps in the second word, i.e Wordcount not WordCount as you might expect — there is no CamelCase spelling of the attribute name as with other attributes.

This returns the number of discrete words in the current note's text (q.v. TextLength for the total character count).

Either spelling - WordCount or Wordcount - may be used. For new files WordCount is a better choice for code but consider the old form if sharing files/code with users of older versions.


Up: Textual Attributes
Previous: TextLength   

[Last updated: 14 Dec 2009, using v5.0]

Google search aTbRef for:  

Licensed under Creative Commons Attribution-Noncommercial-Share Alike 3.0 License
[See aTbRef CC licence Attribution/Waiver info info]

Creative Commons License

Made with Tinderbox