On Tue, 21 Aug 2012 17:21:27 +0200
Sven Barth <pascaldra...@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
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to