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 
parameter

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

Michael.

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to