FireDAC.Comp.Script.FDKeywordMatch
Delphi
function FDKeywordMatch(const AStr, AMatch: String; AOptLength: Integer): Boolean;
C++
extern DELPHI_PACKAGE bool __fastcall FDKeywordMatch(const System::UnicodeString AStr, const System::UnicodeString AMatch, int AOptLength);
Propriétés
| Type | Visibilité | Source | Unité | Parent |
|---|---|---|---|---|
| function | public | FireDAC.Comp.Script.pas FireDAC.Comp.Script.hpp |
FireDAC.Comp.Script | FireDAC.Comp.Script |
Description
Compare dans deux chaînes un nombre de caractères jusqu'à un maximum spécifié.
FDKeywordMatch compare AStr à AMatch, jusqu'à la longueur maximale de AOptLength caractères.
FDKeywordMatch renvoie True si les deux chaînes correspondent, False sinon.