Javascript Code Function to Provide String Word Count

Simple, Reliable Javascript Function to Return the Number of Words in a Javascript String

Home Short:

Simple Javascript function to count the number of words in a string, regardless of the amount of white space, multiple spaces, tabs, carriage returns the string has.

S
H
A
R
E