Autor Beitrag
Limster
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 72


Delphi 5 & 7 Enterprise
BeitragVerfasst: Do 22.12.05 15:19 
Hi !

Hat jemand eine richtig gute und verlässliche Methode mit der ich einen
String mit einem WildCard-String vergleichen kann ?
(sprich '?' oder '*')

Bsp:

"*ier?las*ch?**" & "Bierflasche" = Gleich !

Sprich alle erdenklichen Kombinationen aus ? und * ...
ich habe bereits eine, die viel kann.. jedoch hier und da bei umständlicheren Wildcards falsch auswertet.

grüsse,
Limbo
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: Do 22.12.05 17:43 
schau mal hier im Forum in der OpenSource Units Sparte. Da gabs eine Unit, mit der man das konnte. Leider fällt mir der Name nicht mehr ein...

_________________
In the beginning was the word.
And the word was content-type: text/plain.