from typing import List


def find_all(substring: str, string: str) -> List[int]:
    """
        Find all occurrences of substring in string
    """
    tmp = string
    offset = 0
    occurrences = []
    while tmp.find(substring) != -1:
        occurrences.append(tmp.find(substring) + offset)
        offset += tmp.find(substring) + len(substring)
        tmp = tmp[tmp.find(substring) + len(substring):]

    return occurrences