[Lazarus] I cannot use System.Length() to calculate visible width of string, now !
Graeme Geldenhuys
graemeg.lists at gmail.com
Thu Jun 19 14:26:12 CEST 2008
You mean like the UTF8Length() function in LCLProc unit?
Graeme.
On 19/06/2008, Андрей Гусев <ag888 at rambler.ru> wrote:
> Because Length() returns bytes count.
> Have lazarus conventional function to calculate chars count in string,
> that do it independently from its binary representation ?
> "Length() div 2" is not conventional nor portable.
>
> _______________________________________________
> Lazarus mailing list
> Lazarus at lazarus.freepascal.org
> http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
>
--
Regards,
- Graeme -
_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
More information about the Lazarus
mailing list