Convert values to string in string/* methods

This typecasts all string values in the `string/*` methods. See #23.