Mattias Gaertner schrieb:

length returns the number of characters.
the number of elements, which can be of any size (in arrays in general).

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])

DoDi

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to