I didn't think of casting a string to an array of runes (and somehow never found this suggested anywhere). I just used substring slicing, but that can get pretty awkward. This seems to work as expected, though--I may have to try it in my timestamp parsing PR.