code: def from_string(string, _or=''):
          
          if _or:
              and_or = 'or'
          else:
              and_or = ''
          return Input(string, and_or=and_or)
docs: Parse a given string and turn it into an input token.