@staticmethod
def tokenize(stream, separator):
    """
        Tokenize and yield query parameter values.

        :param stream: Input value
        :param separator: Character to use to separate the tokens.
        :return:
        """
    for value in stream:
        for token in value.split(separator):
            if token:
                yield token.strip()
