.. _plugin-string: The String plugin ================= .. _command-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. .. _command-xor: xor ^^^^^^^^^^^^^^^^^^^^^ Returns ** XOR-encrypted with **. See http://www.yoe.org/developer/xor.html for information about XOR encryption. .. _command-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-levenshtein: levenshtein ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Returns the levenshtein distance (also known as the "edit distance" between ** and **) .. _command-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-sha: sha ^^^^^^^^^^ Returns the SHA hash of a given string. Read http://www.secure-hash-algorithm-md5-sha-1.co.uk/ for more information about SHA. .. _command-chr: chr ^^^^^^^^^^^^ Returns the character associated with the 8-bit value ** .. _command-len: len ^^^^^^^^^^ Returns the length of **. .. _command-encode: encode ^^^^^^^^^^^^^^^^^^^^^^^^ Returns an encoded form of the given text; the valid encodings are available in the documentation of the Python codecs module: **. .. _command-ord: ord ^^^^^^^^^^^^ Returns the 8-bit value of **.