[fpc-pascal]problem with POS in ansistrings

Jonas Maebe jonas at zeus.rug.ac.be
Tue Jul 3 16:13:38 CEST 2001

On dinsdag, juli 3, 2001, at 02:01 , Martin Hankovec wrote:

> if I use the function POS in ansistring, it finds the substring in first
> 255 characters. The others occurences (after 255) cannot be found.
> Compiler version 1.0.2, 1.0.4 works in the same manner.
> Can anybody give an idea how to search in the whole ansistring?

The problem was that lowercase and upcase weren't available for 
ansistrings in 1.0.4, but they have been added in the mean time. You can 
download a snapshot of 1.0.5 from 
<ftp://ftp.freepascal.org/pub/fpc/snapshot/v10> if you want to have this 
fix now.


More information about the fpc-pascal mailing list