Ceci est une ancienne révision du document !


Comparer du texte

Avec les Wildcards (*/?)

IsWild

Declaration: function IsWild(InputStr, Wilds: string; IgnoreCase: Boolean): Boolean;

IsWild compare InputString with WildCard string and return True if corresponds.

IsWild example:
There are possible masks and corresponding strings:
* : >= 0 letters;
*A : words with >= 1 letters and A at the end;
A*A : words with >= 2 letters and A at the begin and end;
A* : words with >= 1 letters and A at the begin;
? : one letter.

Sources & Ressources

Vous pourriez laisser un commentaire si vous étiez connecté.