These both need to do a bunch of copying for the substrings, I'd prefer we implemented tehse with some loops.