

@internationalizeDocstring
def soundex(self, irc, msg, args, text, length):
    "<string> [<length>]\n\n        Returns the Soundex hash to a given length.  The length defaults to\n        4, since that's the standard length for a soundex hash.  For unlimited\n        length, use 0. Maximum length 1024.\n        "
    if (length > 1024):
        irc.error('Maximum allowed length is 1024.')
        return
    irc.reply(utils.str.soundex(text, length))

dataset/ETHPy150Open ProgVal/Limnoria/plugins/String/plugin.py String.soundex/original