def strfind(name: str, ch: str) -> list:
    """Simple function to replicate MATLAB's strfind function"""
    inds = []
    for i in range(len(name)):
        if name.find(ch, i) == i:
            inds.append(i)
    return inds