[Lazarus] UTF8String and UTF8Delete
Martin Schreiber
mse00000 at gmail.com
Fri Dec 11 08:23:05 CET 2015
On Friday 11 December 2015 08:05:12 Sven Barth wrote:
> Am 10.12.2015 23:04 schrieb "Mattias Gaertner" <nc-gaertnma at netcologne.de>:
> >
> > What about:
> >
> > 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. Also I doubt that you can
> do this for var parameters...
>
It is difficult to make efficient Free Pascal applications without
such "tricks". ;-)
Martin
More information about the Lazarus
mailing list