[Overview][Constants][Classes][Procedures and functions][Index] Reference for unit 'StrExtra' (#Pkg)

WordFind

Find the next word in S starting at position First.

Declaration

Source position: strextra.pas line 128

function WordFind(

  const S: string;

  const BreakChars: TSysCharSet;

  var First: Integer;

  out Last: Integer

):Boolean;

Description

Words are delimited by BreakChars. Returns false if no word has been found. Otherwise returns true. In this case, First and Last are the positions of the first and last character of the word.