Skip to main content

Module utility

Module utility 

Source

Functionsยง

base64_decode
BASE64_DECODE(str) - Decode from base64
base64_encode
BASE64_ENCODE(str) - Encode to base64
hash
HASH(value) - Simple hash value
levenshtein
LEVENSHTEIN(str1, str2) - Levenshtein distance between strings
md5
MD5(str) - MD5 hash (requires md5 crate in production, using simple hash for now)
regexp_match
REGEXP_MATCH(string, pattern) - Test if string matches regex
regexp_replace
REGEXP_REPLACE(string, pattern, replacement) - Regex replace
sha1
SHA1(str) - SHA1 hash
sha256
SHA256(str) - SHA256 hash
split_part
SPLIT_PART(string, delimiter, field_num) - Split string and return nth part
url_decode
URL_DECODE(str) - URL decode
url_encode
URL_ENCODE(str) - URL encode