====== CountWords(text, [delimiters]) ====== Category: Text function \\ =====Description===== This function returns the number of words in //text//. Optionally, the second text argument (//delimiters//) can contain a list of delimiter characters. \\ =====Arguments===== ^Argument^Type^Description^ |text|Text|Any text, or value that can implicitly converted to text.| |delimiters|Text|(Optional) A list of individual delimiter characters.| **Return value type:** Number (integer) \\ =====Examples===== countwords("Bicycle DX-349 black") //Returns 3 countwords("Bicycle DX-349 black", " -.,") //Returns 4 (space and - delimiters) \\ ===== See also ===== * [[syntax:functions:len]|Len(text)]]