[fpc-pascal] Possible FindPart extensions?

Michael Van Canneyt michael at freepascal.org
Mon May 16 10:03:18 CEST 2005

On Sun, 15 May 2005, L505 wrote:

> Something I am unsure about here (maybe I will need to implement it):
> When using FindPart function, and utilizing wild cards, I cannot figure a way to calculate the length of the
> string found. Only the matching start position of the found string.
> Any ideas?

Create an overloaded version with an extra 
  Var ResLength : Integer 

And have the current version call this one with a dummy length param.


More information about the fpc-pascal mailing list