1
votes

Any suggestion for a good unicode string library for Delphi 2010? Such thing as class that would contain a collection of independent functions, basically an encapsulation of functions that manipulate strings (ex: Trimlike, Character removal, Positional, Sub-string, Compare, Informational, Case, Replacement, Manipulation functions etc. ).

Thanks

2
You know that from D2009 up, Delphi is fully unicode-capable? So you can just use the functions provided by the RTL. - jpfollenius
yes i know but i have to distribute freely the library source. i will be using the soft gems and the jcl libraries. thank. - volvox
Of course you can't redistribute Delphi source code, but whoever has Delphi has that library. AFAIK even the GPL excludes the compiler standard libraries from its requirements. - user160694

2 Answers

10
votes

What about SysUtils and StrUtils? They contain many String manipulation functions. And if those functions aren't enough you could try the JclStrings unit from the JCL - JEDI Code Library (not to be confused with the JVCL - JEDI Visual Component Library).

3
votes

Mike Lischke has an excellent Unicode library at Soft Gems. It hasn't been updated for Delphi 2009/2010 yet, but it was already working with WideStrings/WideChars, so it should be a pretty trivial port.