wc
Syntax
wc(X)
Arguments
X is a string scalar/vector.
Details
Count the words in X.
Examples
$ wc(`apple);
1
$ wc("This is a 7th generation iphone!");
6
$ wc("This is a 7th generation iphone!" "I wonder what the 8th generation looks like");
[6,8]