Deal with the string passed by Sam G.