Clean up a string to be inserted into a variable?