Michael Schnell <[email protected]> hat am 18. Februar 2011 um 11:23 geschrieben: > On 02/18/2011 11:01 AM, Marc Weustink wrote: > > > > Nope, from day 1 of lazarus, Length() returned the number of > > *physical* elements. Only in some cases this happened to be the number > > of *visible* characters. > Of course you are right, but inviable characters are no real problem > here, visible characters that use up more than one physical element are. You can not solve visible characters with a simple string type, because for example in arabic some characters are combined depending on the word. There is simple access to the bytes and with a bit more to code points. Please give more details what problem you need to solve. Otherwise this thread will go endless without a solution. Mattias
-- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
