[Lazarus] UTF8String and UTF8Delete

Mattias Gaertner nc-gaertnma at netcologne.de
Fri Dec 11 13:12:33 CET 2015


On Fri, 11 Dec 2015 08:05:12 +0100
Sven Barth <pascaldragon at googlemail.com> wrote:

>[...]
> > UTF8Delete(AnsiString(Pointer(s)),1,1);
> 
> While the typecast itself would probably work I strongly advice against it
> since you're relying on implementation details.

True.

> Also I doubt that you can do this for var parameters...

FPC 3.0 eats it without a hint.

Mattias




More information about the Lazarus mailing list