Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2005-09

FindPart and wildcards

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Claudio Oliveira

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

Reply by email