Convert tilda strings, ~' and ~" to ' or "