g.js — graphical objects for JavaScript

wordCountwordCount

Count the number of words in a string.

g.wordCount('Hello World');

See Also