Adding a few more string functions and cleaning up nAry a bit.