Untested implementation of the string library