import re


def string_to_list(s):
    """Return a list of strings from s where items are separated by any of , ; |"""
    try:
        return [text for text in re.split(r'\s*[,;\|]\s*', s) if text]
    except TypeError:
        if type(s) == list:
            return s
        raise