[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
WordCnt


Purpose   Counts the number of words in a string.

Decln.    WordCnt(Str:string):string;

Returns   String

Remarks   Str is the source string.

Example

VAR
  B : BYTE;
BEGIN
    B := WORDCNT('WHAT A SUPERB PRODUCT, REGARDS PHILLIPE');
END;

The variable B is assigned the value 6.

See Also: ExtractWords PosWord
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson