Code: Select all
numofwords.l = CountString(Trim("sentence to count the number of words in"), " ")+1It's very handy, and that's why it's added already. It's called Field.ebs wrote:Fred,
Would you consider adding something like the VB "Split" function? It fills an array with string fields separated by a specified delimiter. It's very handy for parsing words in a sentence and comma or tab delimited files.
Regards,
Eric

