You mean like the UTF8Length() function in LCLProc unit? Graeme.
On 19/06/2008, Андрей Гусев <[EMAIL PROTECTED]> 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 > [email protected] > http://www.lazarus.freepascal.org/mailman/listinfo/lazarus > -- Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/ _______________________________________________ Lazarus mailing list [email protected] http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
