.. _plugin-String: Documentation for the String plugin for Supybot =============================================== Purpose ------- Provides various commands to manipulate characters and strings. Usage ----- Provides useful commands for manipulating characters and strings. .. _commands-String: Commands -------- .. _command-String-chr: chr Returns the unicode character associated with codepoint .. _command-String-decode: decode Returns an un-encoded form of the given text; the valid encodings are available in the documentation of the Python codecs module: . .. _command-String-encode: encode Returns an encoded form of the given text; the valid encodings are available in the documentation of the Python codecs module: . .. _command-String-len: len Returns the length of . .. _command-String-levenshtein: levenshtein Returns the levenshtein distance (also known as the "edit distance" between and ) .. _command-String-md5: md5 Returns the md5 hash of a given string. .. _command-String-ord: ord Returns the unicode codepoint of . .. _command-String-re: re If is of the form m/regexp/flags, returns the portion of that matches the regexp. If is of the form s/regexp/replacement/flags, returns the result of applying such a regexp to . .. _command-String-sha: sha Returns the SHA1 hash of a given string. .. _command-String-soundex: soundex [] Returns the Soundex hash to a given length. The length defaults to 4, since that's the standard length for a soundex hash. For unlimited length, use 0. Maximum length 1024. .. _command-String-unicodename: unicodename Returns the name of the given unicode . .. _command-String-unicodesearch: unicodesearch Searches for a unicode character from its . .. _command-String-xor: xor Returns XOR-encrypted with . Configuration ------------- supybot.plugins.String.public This config variable defaults to "True", is not network-specific, and is not channel-specific. Determines whether this plugin is publicly visible.