Coerce a string to a scanner for the various parse methods.