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


Purpose   Returns a number of specified words from a string.

Decln.    ExtractWords(Start,Count:byte;Str:string):string;

Returns   String

Remarks   Start is the number of the first word to extract.
          Count is the number of words to extract.
          Str is the source string.

Example

VAR LASTBIT : STRING;
BEGIN
    LASTBIT := EXTRACTWORDS(4,3,'WHO THE HELL SAYS CENSORSHIP IS GOOD!');
END;

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