you also cannot freely change the return value of Pos() from elements to codepoints.Of course the counting needs to be consistent for all string functions. So changing it "on the fly" is dangerous (if you keep a count value in an integer variable). But this is up to the user.
-Michael _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel