mystring methods

Several methods for the mystring class have been implemented. Although
they compile they haven't been tested.