def get_substrings(string):
    """Returns a list of n-size substrings from a given string where n is from 1 to number of words in the string"""
    string_list = string.split()
    combinations = [string_list[i:j]
                    for i in range(len(string_list))
                    for j in range (i+1, len(string_list)+ 1)]
    return combinations