Modification of java's pos functions
The original developer modified the
Function Pos(Const Substr : RawByteString; Const Source : RawByteString; Offset : Sizeint = 1) : SizeInt;
but forgot to modify the if statement in the previous function
Function Pos(Const Substr : ShortString; Const Source : RawByteString; Offset : Sizeint = 1) : SizeInt;
The attached patch makes the two functions look alike. patch.diff