Is there any scenario where doing this doesn't work? Doing string manipulation feels slightly gross to me.