JVCL Help:JvCsvWildcardMatch
From Project JEDI Wiki
Jump to navigationJump to searchJVCL Help: JvCsvWildcardMatch function
[+] JvCsvData.pas Functions
Search in JVCL Help
Search in all projectsSummary
Internal wildcard matching function used by SetFilter
Pascal
run\JvCsvData.pas
functionJvCsvWildcardMatch(Data: string; Pattern: string): Boolean;
Parameters
Parameters | Description |
Data: string | A literal string value to be checked, for example 'Bob Smith' |
Pattern: string | A pattern to be matched, can have special wildcard characters, for example 'Bob%' |
Description
See SetFilter.
patterns can contain wildcards, such as '%' for AnyString, or '?' for matching any SingleCharacter. These wildcards were chosen because they are similar to the wildcards used in SQL Databases.
A very specialized feature is the ability to check for several different values, by combining the values with a vertical-pipe (|) symbol. To match a string that starts with either A or B or C, use the pattern 'A%|B%|C%
See Also
About
Contribute to this help topic
This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page