FindPart

Search for a substring in a string, using wildcards.

Declaration

Source position: strutils.pp line 211

  function FindPart(const HelpWilds: string; const InputStr: string)
                    : SizeInt;

Description

FindPart searches the string InputStr and returns the first string that matches the wildcards specification in HelpWilds . If no match is found, and empty string is returned. Currently, the only valid wildcards is the "?" character.

Errors

None.

See also

Name Description
SearchBuf Search a buffer for a certain string.