from typing import Callable
from typing import List


def ListURLParameter(delim: str) -> Callable[[str], List[str]]:     # pylint: disable=C0103
    """
    Arg:
        delim   => delimiter
    Description:
        Create anonymous function to parse `delim`-separated
        list of items.
    Preconditions:
        N/A
    Raises:
        N/A
    """
    def f(arg: str) -> List[str]:   # pylint: disable=C0103
        return [alias.strip() for alias in arg.strip().split(delim) if alias]
    return f