'Returns the of all valid entries which contain ``string`` for the
argument ``arg`` of ``TextClip``, for instance
>>> # Find all the available fonts which contain "Courier"
>>> print ( TextClip.search(\'Courier\', \'font\') )'

@staticmethod
def search(string, arg):

    string = string.lower()
    names_list = TextClip.list(arg)
    return [name for name in names_list if (string in name.lower())]
