Programming in both the Java and C++ as well as UNIX and NT I found myself with a various problems that perhaps is common among other developers and programmers. One problem was porting a C++ program to Java or vice-versa. During such conversions, the string manipulation in C++ and Java were not similar and as a result the conversion process was non-intuitive and cumbersome. Another problem was using a specific string class in C++ for many weeks and then when switching over to the Java language -- simply programming with the Java string class was a re-learning process with various visits to the documentation of the library. Perhaps the most common of all problems, no string library available for the C++ compiler on UNIX at all! As a solution, I decided to create a JString library for C++ with the identical public specification as the Java String library (with only a few Java specific omissions). Using both libraries interchangeably with both languages and both platforms has solved all of my problems...and hopefully it will help others as well.
The library is fairly simple in usage. You may visit the String class specification at JavaSoft.