I used to use HYPERSTR library for string processing routine. Now I use newer Delphi. I need to search a pattern in a string, for example the old function is function IsMa
function IsMa
You can use TMask for wildchar matching:
TMask *m = new TMask("String to check"); bool isMatch = m->Matches("string to*"); delete m;
isMatch = true (C++Builder code is simply translable in Pascal)