help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Procedures and functions] Reference for unit 'strutils' (#rtl)

FindPart

Search for a substring in a string, using wildcards.

Declaration

Source position: strutils.pp line 157

function FindPart(

  const HelpWilds: String;

  const InputStr: String

):Integer;

Arguments

HelpWilds

  

Search string, may contain wildcards.

InputStr

  

String to search in.

Function result

String matching the search expression.

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

SearchBuf

  

Search a buffer for a certain string.

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505