[fpc-devel] Unicode resource strings

Mattias Gaertner nc-gaertnma at netcologne.de
Tue Aug 21 17:27:52 CEST 2012


On Tue, 21 Aug 2012 17:21:27 +0200
Sven Barth <pascaldragon at googlemail.com> wrote:

>[...]
> > length returns the number of characters.
> > UTF8Length the number of codepoints.
> > There must also be a function to return the number of bytes.
> > Does someone know the name?
> 
> Length(s) * SizeOf(s[1])

Cheater. ;)

Mattias



More information about the fpc-devel mailing list