[fpc-pascal] FindPart and wildcards

Claudio Oliveira svartalfheimr at gmail.com
Fri Sep 2 15:35:17 CEST 2005


A simple question: how do I work with wildcards and "FindPart" 
("strutils" unit) function?

If I use

writeln(FindPart('de?','abcdefgh'));

i'll got "4", but if I use

writeln(FindPart('de*','abcdefgh'));

I'll got "0". Why? How can I use the asterisk wildcard?

Thanks a lot!
Claudio



More information about the fpc-pascal mailing list