import re


def getFuncNames(funcNamesStr):
    """
    Gets a list of function names from the string provided, where
    the function names are separated by whitespaces or commas.

    Arguments:
        funcNamesStr:
            String of function names.

    Returns:
        List of function names in the string.
    """
    return re.split(r"[\s,]+", funcNamesStr)