The charstring class contains some commonly needed string manipulation and evaluation functions. Below is some code illustrating the use of the string class.