|The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....|
|Home BasePack Stringl Procedures and Functions ExtractWordFromString|
|See also: TExtractor, ExtractSubString|
The function ExtractWordFromString extracts the word at the character position Pos from the string InString. The word boundaries are defined by the constant WordSeps; all characters which are not part of WordSeps are considered to belong to the extracted word.
Version  simply returns the extracted string, while version  additionally returns the string indices of the extracted word in the variable parameters FirstIdx and LastIdx.