I understand why it is the way it is, but string handling in Swift still makes me weep.