[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
WordCnt StrnTTT
Purpose To count the number of words in a string.
Returns byte;
Declaration WordCnt(Str:string):byte;
Str is the string to be counted
Uses StrngTTT.
Example
USES STRNGTTT;
VAR B : BYTE;
BEGIN
B := WORDCNT('THATS ALL THE STRING FUNCTIONS, FOLKS!');
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