def string_to_list(t_str, t_char=" "):
    """
    Returns a list of elements that are contains inside the string param.

    :param str t_str: string with elements and delimiters
    :param str t_char: delimiter of the elements
    :return list t_list: list of elements that were inside t_str
    """
    t_list = t_str.strip(t_char).split(t_char)
    return t_list