String
Text functions: search, replace, cut, pad, trim, change case, split, compare, regular expressions, similarity and phonetic matching, formatting, encodings, hashes and encryption. Typical uses: clean imported data, build a slug or a masked value, compare names that are spelled differently, hash or encrypt a value.
string asciistring binstring bit_lengthstring charstring char_lengthstring char_to_intconcatstring csv_valuestring sentence_distancestring sentences_distancestring orderstring get_variablestring levenshtein_distancestring md5string shastring sha_256string countstring bcrypt_hashstring bcrypt_verifystring encode_sign_generate_keypairstring encode_signstring decode_sign_verifystring encode_rsa_generate_keypairstring encode_rsastring decode_rsastring encode_des_generate_keystring encode_desstring decode_desstring encode_blowfishstring decode_blowfishstring encode_pbestring decode_pbestring encode_b64string decode_b64string del_char_before_each_linestring mql_to_htmlstring ends_withstring first_letter_upperstring first_letterstring generate_random_strstring hexstring hex_to_intstring hex_to_strstring indentstring instrstring instrstring int_to_charstring int_to_hexstring int_to_octstring is_letterstring is_alpha_num_udsstring is_alpha_numstring is_number_charstring itrimstring lcasestring leftstring lengthstring likestring locatestring locatestring lowerstring lpadstring lrtrimstring lrtrim0string ltrimstring matchesstring midstring midstring not_likestring not_regexpstring octstring oct_to_intstring positionstring positionstring regexpstring repeatstring repeat_insert_strstring replacestring reversestring rightstring rpadstring rtrimstring spacestring splitstring split_mqlstring split_sentencestring starts_withstring starts_with_orstring str_to_hexstring strcmpstring strposstring strposstring sublrcharstring substrstring substrstring substringstring substringstring to_stringstring encodestring empty_if_nullstring null_if_emptystring trimstring txtstring txt2string ucasestring unhexstring upperstring zerostring uuidstring unaccentstring slugifystring url_encodestring url_decodestring html_escapestring html_unescapestring json_escapestring sha_512string capitalize_wordsstring camel_casestring snake_casestring kebab_casestring is_blankstring regexp_countstring hmac_sha256string truncatestring containsstring contains_ignore_casestring equals_ignore_casestring regexp_replacestring regexp_extracttype is_matches_regexstring jaro_winklerstring jaro_winklerstring soundexstring phonetic_frstring normalizestring ngramsstring maskstring maskstring templatestring encode_b32string decode_b32string crc32string sha3string ulidstring uuid7string formatstring formatstring number_formatstring number_formatstring number_formatstring wordwrapstring wordwrapstring strip_tagsstring strip_tagsstring natural_comparestring natural_comparestring natural_sortstring natural_sortstring similar_textstring word_countstring word_countstring strtrstring query_parsestring query_buildstring query_buildstring qp_encodestring qp_encodestring qp_decodestring qp_decodestring collate_comparestring collate_comparestring collate_comparestring collate_sortstring collate_sortstring collate_sortstring betweenstring betweenstring nl2brstring nl2brstring grapheme_lengthstring grapheme_substrstring grapheme_substrstring sscanfstring pad_centerstring pad_centerstring chunk_splitstring chunk_splitstring chunk_splitstring count_charsstring count_charsstring metaphonestring encrypt_aesstring encrypt_aesstring decrypt_aesstring decrypt_aesstring generate_key_aesstring hmacstring hmacstring hmac_verifystring hmac_verifystring hashstring hashstring random_bytesstring random_bytesstring encode_b64urlstring decode_b64urlstring regexp_allstring regexp_allstring regexp_splitstring regexp_splitstring regexp_quotestring regexp_quote
string ascii <chr>
Description
Convert a character to an integer
Convert a character to an integer
Parameters
chr: The string - String - required
chr: The string - String - required
admin
string ascii "a"
mentdb
97
Used in use cases (5 recipes)
String & encoding developer › Colors, permissions and character codes
Algorithms in MQL › Stack and queue with atom lists
Cryptographer & number theorist › Two-time pad: breaking a reused one-time key
Text & language processing › Break a Caesar cipher with the index of coincidence
Cryptographer & number theorist › Hill cipher with a 2 x 2 key matrix
String & encoding developer › Colors, permissions and character codes
Algorithms in MQL › Stack and queue with atom lists
Cryptographer & number theorist › Two-time pad: breaking a reused one-time key
Text & language processing › Break a Caesar cipher with the index of coincidence
Cryptographer & number theorist › Hill cipher with a 2 x 2 key matrix
Often used with
string char · string length · string int_to_hex · string mid · string substr · and · arith gcd · arith invmod
string char · string length · string int_to_hex · string mid · string substr · and · arith gcd · arith invmod
string bin <num>
Description
Returns a string representation of the binary value of n, where n is a long (bigint) number
Returns a string representation of the binary value of n, where n is a long (bigint) number
Parameters
num: The number - Number - required
num: The number - Number - required
admin
string bin 97
mentdb
1100001
Used in use cases (5 recipes)
MQL developer › User rights as a bitmask
String & encoding developer › Colors, permissions and character codes
Telecom & radar engineer › Single error correction with a Hamming (7,4) code
IoT & sensor engineer › Decode and acknowledge a Modbus status register
Logistics & supply chain › Handling flags of an order and the vehicles that can carry it
MQL developer › User rights as a bitmask
String & encoding developer › Colors, permissions and character codes
Telecom & radar engineer › Single error correction with a Hamming (7,4) code
IoT & sensor engineer › Decode and acknowledge a Modbus status register
Logistics & supply chain › Handling flags of an order and the vehicles that can carry it
Often used with
math bit_and · math bit_or · math bit_xor · string lpad · math power · string hex_to_int · string int_to_hex · string trim
math bit_and · math bit_or · math bit_xor · string lpad · math power · string hex_to_int · string int_to_hex · string trim
string bit_length <str>
Description
Returns the length of the string str in bits
Returns the length of the string str in bits
Parameters
str: The string - String - required
str: The string - String - required
admin
string bit_length 61
mentdb
16
Often used with
string char_length · string decode_b64 · string encode · string encode_b64 · string html_escape · string html_unescape · string instr · string json_escape
string char_length · string decode_b64 · string encode · string encode_b64 · string html_escape · string html_unescape · string instr · string json_escape
string char <num>
Description
Convert an integer to a character
Convert an integer to a character
Parameters
num: The number - Number - required
num: The number - Number - required
admin
string char 97
mentdb
a
Used in use cases (26 recipes)
String & encoding developer › Colors, permissions and character codes
JSON & document store developer › Find the closest answer by meaning: cut, embed, search
Debugging & error handling › Group the errors of the night in a Java log and find their root cause
Cryptographer & number theorist › Two-time pad: breaking a reused one-time key
PDF & document automation specialist › Build a one-page PDF of weekly KPIs with a line chart
XML, HTML & Word integrator › Build a SEPA credit transfer XML (pain.001)
and 20 more in the Use cases
String & encoding developer › Colors, permissions and character codes
JSON & document store developer › Find the closest answer by meaning: cut, embed, search
Debugging & error handling › Group the errors of the night in a Java log and find their root cause
Cryptographer & number theorist › Two-time pad: breaking a reused one-time key
PDF & document automation specialist › Build a one-page PDF of weekly KPIs with a line chart
XML, HTML & Word integrator › Build a SEPA credit transfer XML (pain.001)
and 20 more in the Use cases
Often used with
file exist · file mkdir · file delete · string ascii · string length · json doc · odt create · docx create
file exist · file mkdir · file delete · string ascii · string length · json doc · odt create · docx create
string char_length <str>
Description
Returns the length of the string. The length is equal to the number of Unicode code units in the string.
Returns the length of the string. The length is equal to the number of Unicode code units in the string.
Parameters
str: The string - String - required
str: The string - String - required
admin
string char_length "azerty"
mentdb
6
Often used with
string bit_length · string decode_b64 · string encode · string encode_b64 · string html_escape · string html_unescape · string instr · string json_escape
string bit_length · string decode_b64 · string encode · string encode_b64 · string html_escape · string html_unescape · string instr · string json_escape
string char_to_int <chr>
Description
Convert a character to an integer using the ASCII classification
Convert a character to an integer using the ASCII classification
Parameters
chr: The string - String - required
chr: The string - String - required
admin
string char_to_int "a"
mentdb
97
Often used with
string ascii · string bin · string char · string hex · string hex_to_int · string hex_to_str · string int_to_char · string int_to_hex
string ascii · string bin · string char · string hex · string hex_to_int · string hex_to_str · string int_to_char · string int_to_hex
concat <str1> <strN>
Description
Concatenate all parameters (do not use this function with 'string' before it)
Concatenate all parameters (do not use this function with 'string' before it)
Parameters
str1: The string - String - required
strN: The string - String - required
str1: The string - String - required
strN: The string - String - required
admin
concat "str1" "str2" "str3"
mentdb
str1str2str3
Used in use cases (1123 recipes)
MQL beginner › Shopping cart total: variables and arithmetic
MQL developer › Clean a list of tags with atom functions
Backend & web service developer › Publish a typed web service with its parameter and stack options
Date & time developer › Support ticket SLA in business days
String & encoding developer › Clean a customer line before import
Data validation developer › Supplier onboarding validation report
and 1117 more in the Use cases
MQL beginner › Shopping cart total: variables and arithmetic
MQL developer › Clean a list of tags with atom functions
Backend & web service developer › Publish a typed web service with its parameter and stack options
Date & time developer › Support ticket SLA in business days
String & encoding developer › Clean a customer line before import
Data validation developer › Supplier onboarding validation report
and 1117 more in the Use cases
Often used with
json doc · string regexp_extract · script create · script delete · execute · string regexp_replace · atom get · file delete
json doc · string regexp_extract · script create · script delete · execute · string regexp_replace · atom get · file delete
string csv_value <data> <columnSeparator> <quoteChar>
Description
Convert a string into a valid CSV value
Convert a string into a valid CSV value
Parameters
data: The string data - String - required
columnSeparator: The column separator - String - required
quoteChar: The quote character - String - required
data: The string data - String - required
columnSeparator: The column separator - String - required
quoteChar: The quote character - String - required
admin
string csv_value "a" "," "'"
mentdb
a
Used in use cases (3 recipes)
String & encoding developer › Clean a customer line before import
JSON & document store developer › Export a JSON array to a CSV file and read it back
Integrator & ETL developer › Sort JSON orders and export them as CSV
String & encoding developer › Clean a customer line before import
JSON & document store developer › Export a JSON array to a CSV file and read it back
Integrator & ETL developer › Sort JSON orders and export them as CSV
Often used with
json parse_array · atom get · atom size · csv parse · file count_lines · file delete · file load · file writer_add_line
json parse_array · atom get · atom size · csv parse · file count_lines · file delete · file load · file writer_add_line
string sentence_distance <activationPercent> <levenshteinPercent> <sentence1> <sentence2>
Description
To get the sentence distance between two sentences
To get the sentence distance between two sentences
Parameters
activationPercent: The activation percentage - Number - required
levenshteinPercent: The Levenshtein percentage - Number - required
sentence1: The sentence 1 - String - required
sentence2: The sentence 2 - String - required
activationPercent: The activation percentage - Number - required
levenshteinPercent: The Levenshtein percentage - Number - required
sentence1: The sentence 1 - String - required
sentence2: The sentence 2 - String - required
admin
string sentence_distance 40 70 "word1 word2 word3" "word1 word2"
mentdb
267.0
Used in use cases (2 recipes)
String & encoding developer › Match a typed product name to the catalog
Text & language processing › Match a customer message to a chatbot intent
String & encoding developer › Match a typed product name to the catalog
Text & language processing › Match a customer message to a chatbot intent
Often used with
string lower · string sentences_distance · json doc · json load select · string instr · string is_alpha_num · string is_alpha_num_uds · string is_letter
string lower · string sentences_distance · json doc · json load select · string instr · string is_alpha_num · string is_alpha_num_uds · string is_letter
string sentences_distance <activationPercent> <levenshteinPercent> <sentence1> <sentenceObj>
Description
To get the sentence distance between several sentences
To get the sentence distance between several sentences
Parameters
activationPercent: The activation percentage - Number - required
levenshteinPercent: The Levenshtein percentage - Number - required
sentence1: The sentence 1 - String - required
sentenceObj: The sentence object (key=sentence) - String - required
activationPercent: The activation percentage - Number - required
levenshteinPercent: The Levenshtein percentage - Number - required
sentence1: The sentence 1 - String - required
sentenceObj: The sentence object (key=sentence) - String - required
admin
string sentences_distance 40 70 "vrai passionné" "{ \"1\": { \"i\": \"des saveurs qui explosent en bouche\", \"o\": \"1\" }, \"2\": { \"i\": \"un vrai passionné de cuisine\", \"o\": \"-1\" }, \"3\": { \"i\": \"agréablement surpenant\", \"o\": \"0\" } }"
mentdb
{ \"best_id\": \"2\", \"best_predict\": \"-1\", \"best_sentence\": \"un vrai passionné de cuisine\", \"best_value\": 240.0, \"handle\": { \"1\": { \"v\": 0.0, \"i\": \"des saveurs qui explosent en bouche\", \"o\": \"1\" }, \"2\": { \"v\": 240.0, \"i\": \"un vrai passionné de cuisine\", \"o\": \"-1\" }, \"3\": { \"v\": 0.0, \"i\": \"agréablement surpenant\", \"o\": \"0\" } } }
Used in use cases (2 recipes)
String & encoding developer › Match a typed product name to the catalog
Text & language processing › Match a customer message to a chatbot intent
String & encoding developer › Match a typed product name to the catalog
Text & language processing › Match a customer message to a chatbot intent
Often used with
string lower · string sentence_distance · json doc · json load select · string instr · string is_alpha_num · string is_alpha_num_uds · string is_letter
string lower · string sentence_distance · json doc · json load select · string instr · string is_alpha_num · string is_alpha_num_uds · string is_letter
string order <jsonArray>
Description
Return an ordered array of string
Return an ordered array of string
Parameters
jsonArray: A JSON array - String - required
jsonArray: A JSON array - String - required
admin
string order "[\"A\", \"C\", \"B\"]"
mentdb
"[\"A\", \"B\", \"C\"]"
Used in use cases (4 recipes)
MQL developer › Sort CSV columns: text sort versus numeric sorts
String & encoding developer › Match a typed product name to the catalog
Algorithms in MQL › Palindromes and anagrams
Text & language processing › Palindromes and anagram groups of a word corpus
MQL developer › Sort CSV columns: text sort versus numeric sorts
String & encoding developer › Match a typed product name to the catalog
Algorithms in MQL › Palindromes and anagrams
Text & language processing › Palindromes and anagram groups of a word corpus
Often used with
string lower · string reverse · atom size · not · string regexp_replace · string split · string substr · string unaccent
string lower · string reverse · atom size · not · string regexp_replace · string split · string substr · string unaccent
string get_variable <input> <pattern>
Description
To get variables from a string
To get variables from a string
Parameters
input: The input - String - required
pattern: The pattern ([1] for the first variable) - String - required
input: The input - String - required
pattern: The pattern ([1] for the first variable) - String - required
admin
string get_variable "Paris is a beautifull city" "[1] is a beautifull city"
mentdb
["Paris"]
Often used with
string contains · string contains_ignore_case · string count · string ends_with · string equals_ignore_case · string left · string like · string matches
string contains · string contains_ignore_case · string count · string ends_with · string equals_ignore_case · string left · string like · string matches
string levenshtein_distance <word1> <word2>
Description
To get the Levenshtein distance (edit distance) between two strings
To get the Levenshtein distance (edit distance) between two strings
Parameters
word1: The word 1 - String - required
word2: The word 2 - String - required
word1: The word 1 - String - required
word2: The word 2 - String - required
admin
string levenshtein_distance "admn" "admin"
mentdb
1
Used in use cases (4 recipes)
String & encoding developer › Match a typed product name to the catalog
Geneticist & bioinformatician › GC content, CpG ratio, TATA boxes and divergence of a promoter
Data quality analyst › Near-duplicate customer names
Text & language processing › Spelling suggestions with the Levenshtein distance
String & encoding developer › Match a typed product name to the catalog
Geneticist & bioinformatician › GC content, CpG ratio, TATA boxes and divergence of a promoter
Data quality analyst › Near-duplicate customer names
Text & language processing › Spelling suggestions with the Levenshtein distance
Often used with
json doc · json parse_array · string length · string lower · arith iquo · arith irem · bigdec div · json iarray
json doc · json parse_array · string length · string lower · arith iquo · arith irem · bigdec div · json iarray
string md5 <str>
Description
Get the MD5 hash
Get the MD5 hash
Parameters
str: The string - String - required
str: The string - String - required
admin
string md5 "admin"
mentdb
21232f297a57a5a743894a0e4a801fc3
admin
string md5 "pwd23"
mentdb
05f9d886748bd2748a7d2a8b70566044
Used in use cases (5 recipes)
Backend & web service developer › Signed webhook receiver with replay protection
String & encoding developer › Write and read a fixed width bank transfer file
JSON & document store developer › Build an order document and its ETag
Event developer › Refuse a file received twice under two names
Web & API developer › Pagination with a Link header and an ETag
Backend & web service developer › Signed webhook receiver with replay protection
String & encoding developer › Write and read a fixed width bank transfer file
JSON & document store developer › Build an order document and its ETag
Event developer › Refuse a file received twice under two names
Web & API developer › Pagination with a Link header and an ETag
Often used with
string left · date now · log write · node create · node delete · node iobject · script create · script delete
string left · date now · log write · node create · node delete · node iobject · script create · script delete
string sha <str>
Description
Get the SHA hash
Get the SHA hash
Parameters
str: The string - String - required
str: The string - String - required
admin
string sha "admin"
mentdb
d033e22ae348aeb5660fc2140aec35850c4da997
Used in use cases (2 recipes)
JSON & document store developer › Feature flags stored in a node
IoT & sensor engineer › Health report of an IoT gateway
JSON & document store developer › Feature flags stored in a node
IoT & sensor engineer › Health report of an IoT gateway
Often used with
string left · json doc · json iobject · metric current available mem · metric current cpu jvm · metric date · metric system · node count
string left · json doc · json iobject · metric current available mem · metric current cpu jvm · metric date · metric system · node count
string sha_256 <str>
Description
Get the SHA-256 hash
Get the SHA-256 hash
Parameters
str: The string - String - required
str: The string - String - required
admin
string sha_256 "admin"
mentdb
8c6976e5b5410415bde908bd4dee15dfb167a9c873fc4bb8a81f6f2ab448a918
Used in use cases (13 recipes)
MQL developer › Stable A/B test buckets from a hash
Backend & web service developer › An authentication guard shared with include
String & encoding developer › Mask personal data before writing a log line
JSON & document store developer › Build an order document and its ETag
Script developer › Back up a script before deleting it
Screen & UI developer (sajax) › Preferences form with color, range, password and file upload
and 7 more in the Use cases
MQL developer › Stable A/B test buckets from a hash
Backend & web service developer › An authentication guard shared with include
String & encoding developer › Mask personal data before writing a log line
JSON & document store developer › Build an order document and its ETag
Script developer › Back up a script before deleting it
Screen & UI developer (sajax) › Preferences form with color, range, password and file upload
and 7 more in the Use cases
Often used with
string left · string length · string replace · and · json doc · json iarray · string regexp_extract · string substring
string left · string length · string replace · and · json doc · json iarray · string regexp_extract · string substring
string count <string> <find>
Description
Count the number of occurrences of a string in another string
Count the number of occurrences of a string in another string
Parameters
string: The string - String - required
find: The string - String - required
string: The string - String - required
find: The string - String - required
admin
string count "azertyaze" "a"
mentdb
2
Used in use cases (10 recipes)
String & encoding developer › Parse an API access log line
SQL developer in MQL › Register a local H2 database connection
CRUD & data API developer › Generate and review every SCRUD operation
Geneticist & bioinformatician › GC content, CpG ratio, TATA boxes and divergence of a promoter
Data quality analyst › Completeness, validity and uniqueness scorecard of suppliers
Cluster & high-availability engineer › Expel and reinstate drill on a lab cluster
and 4 more in the Use cases
String & encoding developer › Parse an API access log line
SQL developer in MQL › Register a local H2 database connection
CRUD & data API developer › Generate and review every SCRUD operation
Geneticist & bioinformatician › GC content, CpG ratio, TATA boxes and divergence of a promoter
Data quality analyst › Completeness, validity and uniqueness scorecard of suppliers
Cluster & high-availability engineer › Expel and reinstate drill on a lab cluster
and 4 more in the Use cases
Often used with
cm get · sql connect · sql disconnect · string regexp_count · string regexp_extract · string replace · atom get · string regexp_replace
cm get · sql connect · sql disconnect · string regexp_count · string regexp_extract · string replace · atom get · string regexp_replace
string bcrypt_hash <password> <strength>
Description
Hash a string with bcrypt
Hash a string with bcrypt
Parameters
password: The password - String - required
strength: The strength - Number - required
password: The password - String - required
strength: The strength - Number - required
admin
string bcrypt_hash "pwd" 10
mentdb
$2a$10$zkC0//y/lkw0cNRWF/XKeuK.lyfRkvVaCPNdpnrYjsK3Orzl.5nKC
Used in use cases (4 recipes)
Data validation developer › Sign-up form: dates, hours and password
Cryptographer & number theorist › Password entropy, brute-force time and bcrypt
Security engineer › Store and check a password with bcrypt
Data validation developer › Password policy with an entropy estimate
Data validation developer › Sign-up form: dates, hours and password
Cryptographer & number theorist › Password entropy, brute-force time and bcrypt
Security engineer › Store and check a password with bcrypt
Data validation developer › Password policy with an entropy estimate
Often used with
string bcrypt_verify · string length · string left · string substring · atom find · atom get · atom size · is empty
string bcrypt_verify · string length · string left · string substring · atom find · atom get · atom size · is empty
string bcrypt_verify <password> <hash>
Description
Verify a password with bcrypt
Verify a password with bcrypt
Parameters
password: The password - String - required
hash: The hash - String - required
password: The password - String - required
hash: The hash - String - required
admin
string bcrypt_verify "pwd" "$2a$10$zkC0//y/lkw0cNRWF/XKeuK.lyfRkvVaCPNdpnrYjsK3Orzl.5nKC"
mentdb
1
Used in use cases (4 recipes)
Data validation developer › Sign-up form: dates, hours and password
Cryptographer & number theorist › Password entropy, brute-force time and bcrypt
Security engineer › Store and check a password with bcrypt
Data validation developer › Password policy with an entropy estimate
Data validation developer › Sign-up form: dates, hours and password
Cryptographer & number theorist › Password entropy, brute-force time and bcrypt
Security engineer › Store and check a password with bcrypt
Data validation developer › Password policy with an entropy estimate
Often used with
string bcrypt_hash · string length · string left · string substring · atom find · atom get · atom size · is empty
string bcrypt_hash · string length · string left · string substring · atom find · atom get · atom size · is empty
string encode_sign_generate_keypair <keysize>
Description
Generate a key pair for signature encryption
Generate a key pair for signature encryption
Parameters
keysize: The key size - String - required
keysize: The key size - String - required
admin
string encode_sign_generate_keypair "2048"
mentdb
{ "privateKey": "MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQCnwvK73uoux+7wwULXE1OcTJO/KYuClwbX3B15jaE2KSW7PVIVkLehJ6gz0PnIXddpFaKRgoX1fjnovaUtA2n3Y3VzaHR0OEaYG9StkHGisXndDNuazzJ6BeUvvKA83OVB5JMn7skee3Fq29UPjRLhYNGnms/Ry7BpUYSO2KdjNGDgE/qDdc7PUSzDivM76BXdcDQHrrP6RGeqBL4a/3G/gq3jSjMoDLO1vMzdVzFRAX2fROCSBI641Y/UBryd3CQHXssUBBI9Kg3hEO60tr2X/oFDExIONP48y5NmsPsNRKw/hJ8MYaMDAxopuaMq5XUQ3EuOQf63HWOp75/RJNjXAgMBAAECggEBAJWBSdsd1KuuKAXM5alQovGm2QDCoH7X4xRaKLZb/rCKyQJtqopndw6aje7nrMLgxojy6/crUACw5iDBacOMyFHdBB2+mBG+2ULTgpzPHkY0Tfsua0MypbRTLqV1P4QeA/3OG0q6JegRcMkfcmgyfAH4y77HW6+HDAc/y5eWAs6HvOv69KjgVWwk7M+qePJAfqSA1mVfvtZp5woD3xzQY0hIb/lnG/tDCQp+p1v3rFrFpufdkgFX5JTx37oe4mnc4Zrpvr+qxekT1HlJVgo3V9ooN/oVAyuQXg58y3ZmYH6mCXlgNe+QYH/TknHWlqAnK0eu95dgHX6GtNA6Dz9TjsECgYEA0ZvSYs/cXHre4KdWV7h9higezi0JKfygEOBYVEeUiJ1cC/8a43rTns4oobnOczcs7UJUpR3iV+xNmw22rOwLXG8wjXOAmrjvC9iHhMNiNVox/hxZ75755FcjzFz8AOLVCUHeHMiIxrwm1lRL+92ZdYxgXh2IcXy0T+X3xicj5aECgYEAzOQdrsZ/7kaIYCgCF8ugl+aEYi83GE7J/RT0gemvt68JWOGdq18MfFzuYSeLbHZMSaWWbzlNj0mU1dwtgryfiXI3YHQ5Oe70Fef88cZ04lpnOrw+E1B539sG3Ldftif4bBgPfTrP3smXz8LAXdmB030yuiI1x8+fO//CgBrpO3cCgYEApOLw8y4UaON3JD4+m67Tf49b/FBNHyxNNjllApd0bqtq1z0Mh9n9UrVWHTKvBs9mlhVRxLnnbcbDna+B/jGJFmOZTAyKJCxKT4U7xeJ1BQc4wG7JCMiER22NCZwz2PaXIzsfYIEXp04nNv8E7tJ5f5C31hFhXfT9WsTKzqPHh0ECgYBOUWgTNacTEnzwnHpoVBq31ZKG4Vti/ELzbX4k5omXYd3lzp/xMKzaIL+x/Waq9/EjOZtuOm4uNkchFD+FOMqWxETspqB1R6SfdwTV+jEVkM7iwa/MvDdJ3TQbTDDWtSKdVvkcuk1Y8KAJ93yGoyygBbxNL+R00yUfzxyu0RqT8wKBgHinNaHsk3HY5rq7SR708dtj9dqc0DDQ+M+1M979XL8tfqCtZ17xluTi7QAdcq8xIX8ev1hkkkv6elxhjvcqFww9w45cpB76MFuW0dzfi7/32wFkwpwc5ih0+Qcp1qqJspiQKG3/2ur9sNndBejYmtNY4i5mhlllXCiF/87PKRTZ", "publicKey": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAp8Lyu97qLsfu8MFC1xNTnEyTvymLgpcG19wdeY2hNikluz1SFZC3oSeoM9D5yF3XaRWikYKF9X456L2lLQNp92N1c2h0dDhGmBvUrZBxorF53Qzbms8yegXlL7ygPNzlQeSTJ+7JHntxatvVD40S4WDRp5rP0cuwaVGEjtinYzRg4BP6g3XOz1Esw4rzO+gV3XA0B66z+kRnqgS+Gv9xv4Kt40ozKAyztbzM3VcxUQF9n0TgkgSOuNWP1Aa8ndwkB17LFAQSPSoN4RDutLa9l/6BQxMSDjT+PMuTZrD7DUSsP4SfDGGjAwMaKbmjKuV1ENxLjkH+tx1jqe+f0STY1wIDAQAB" }
Used in use cases (3 recipes)
String & encoding developer › Encrypt, decrypt and sign a secret
Cryptographer & number theorist › Signing a document hash and the avalanche effect
Security engineer › Signed licence key checked offline
String & encoding developer › Encrypt, decrypt and sign a secret
Cryptographer & number theorist › Signing a document hash and the avalanche effect
Security engineer › Signed licence key checked offline
Often used with
string decode_sign_verify · string encode_sign · string length · string replace · atom get · date add · date is_after · string count
string decode_sign_verify · string encode_sign · string length · string replace · atom get · date add · date is_after · string count
string encode_sign <data> <privateKey>
Description
Get a signature from a string
Get a signature from a string
Parameters
data: The data string - String - required
privateKey: The private key - String - required
data: The data string - String - required
privateKey: The private key - String - required
admin
string encode_sign "azerty" (json select "keyId" "/privateKey")
mentdb
MD0CHCGD3SEzr5rIZnSdnyT+DGLPqHbI9VFBjwY3yv0CHQCfA56aUbe0y/ixaXgx7GWXM/JFAYAXnU3uFP/l
Used in use cases (3 recipes)
String & encoding developer › Encrypt, decrypt and sign a secret
Cryptographer & number theorist › Signing a document hash and the avalanche effect
Security engineer › Signed licence key checked offline
String & encoding developer › Encrypt, decrypt and sign a secret
Cryptographer & number theorist › Signing a document hash and the avalanche effect
Security engineer › Signed licence key checked offline
Often used with
string decode_sign_verify · string encode_sign_generate_keypair · string length · string replace · atom get · date add · date is_after · string count
string decode_sign_verify · string encode_sign_generate_keypair · string length · string replace · atom get · date add · date is_after · string count
string decode_sign_verify <data> <signature> <puvlicKey>
Description
Check a text with a signature and a public key
Check a text with a signature and a public key
Parameters
data: The data string - String - required
signature: The signature - String - required
puvlicKey: The public key - String - required
data: The data string - String - required
signature: The signature - String - required
puvlicKey: The public key - String - required
admin
string decode_sign_verify "azerty" "MD0CHCGD3SEzr5rIZnSdnyT+DGLPqHbI9VFBjwY3yv0CHQCfA56aUbe0y/ixaXgx7GWXM/JFAYAXnU3uFP/l" (json select "keyId" "/publicKey")
mentdb
1
Used in use cases (3 recipes)
String & encoding developer › Encrypt, decrypt and sign a secret
Cryptographer & number theorist › Signing a document hash and the avalanche effect
Security engineer › Signed licence key checked offline
String & encoding developer › Encrypt, decrypt and sign a secret
Cryptographer & number theorist › Signing a document hash and the avalanche effect
Security engineer › Signed licence key checked offline
Often used with
string encode_sign · string encode_sign_generate_keypair · string length · string replace · atom get · date add · date is_after · string count
string encode_sign · string encode_sign_generate_keypair · string length · string replace · atom get · date add · date is_after · string count
string encode_rsa_generate_keypair <keysize>
Description
Generate a key pair for RSA encryption
Generate a key pair for RSA encryption
Parameters
keysize: The key size - String - required
keysize: The key size - String - required
admin
string encode_rsa_generate_keypair "2048"
mentdb
{ "privateKey": "MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQCnwvK73uoux+7wwULXE1OcTJO/KYuClwbX3B15jaE2KSW7PVIVkLehJ6gz0PnIXddpFaKRgoX1fjnovaUtA2n3Y3VzaHR0OEaYG9StkHGisXndDNuazzJ6BeUvvKA83OVB5JMn7skee3Fq29UPjRLhYNGnms/Ry7BpUYSO2KdjNGDgE/qDdc7PUSzDivM76BXdcDQHrrP6RGeqBL4a/3G/gq3jSjMoDLO1vMzdVzFRAX2fROCSBI641Y/UBryd3CQHXssUBBI9Kg3hEO60tr2X/oFDExIONP48y5NmsPsNRKw/hJ8MYaMDAxopuaMq5XUQ3EuOQf63HWOp75/RJNjXAgMBAAECggEBAJWBSdsd1KuuKAXM5alQovGm2QDCoH7X4xRaKLZb/rCKyQJtqopndw6aje7nrMLgxojy6/crUACw5iDBacOMyFHdBB2+mBG+2ULTgpzPHkY0Tfsua0MypbRTLqV1P4QeA/3OG0q6JegRcMkfcmgyfAH4y77HW6+HDAc/y5eWAs6HvOv69KjgVWwk7M+qePJAfqSA1mVfvtZp5woD3xzQY0hIb/lnG/tDCQp+p1v3rFrFpufdkgFX5JTx37oe4mnc4Zrpvr+qxekT1HlJVgo3V9ooN/oVAyuQXg58y3ZmYH6mCXlgNe+QYH/TknHWlqAnK0eu95dgHX6GtNA6Dz9TjsECgYEA0ZvSYs/cXHre4KdWV7h9higezi0JKfygEOBYVEeUiJ1cC/8a43rTns4oobnOczcs7UJUpR3iV+xNmw22rOwLXG8wjXOAmrjvC9iHhMNiNVox/hxZ75755FcjzFz8AOLVCUHeHMiIxrwm1lRL+92ZdYxgXh2IcXy0T+X3xicj5aECgYEAzOQdrsZ/7kaIYCgCF8ugl+aEYi83GE7J/RT0gemvt68JWOGdq18MfFzuYSeLbHZMSaWWbzlNj0mU1dwtgryfiXI3YHQ5Oe70Fef88cZ04lpnOrw+E1B539sG3Ldftif4bBgPfTrP3smXz8LAXdmB030yuiI1x8+fO//CgBrpO3cCgYEApOLw8y4UaON3JD4+m67Tf49b/FBNHyxNNjllApd0bqtq1z0Mh9n9UrVWHTKvBs9mlhVRxLnnbcbDna+B/jGJFmOZTAyKJCxKT4U7xeJ1BQc4wG7JCMiER22NCZwz2PaXIzsfYIEXp04nNv8E7tJ5f5C31hFhXfT9WsTKzqPHh0ECgYBOUWgTNacTEnzwnHpoVBq31ZKG4Vti/ELzbX4k5omXYd3lzp/xMKzaIL+x/Waq9/EjOZtuOm4uNkchFD+FOMqWxETspqB1R6SfdwTV+jEVkM7iwa/MvDdJ3TQbTDDWtSKdVvkcuk1Y8KAJ93yGoyygBbxNL+R00yUfzxyu0RqT8wKBgHinNaHsk3HY5rq7SR708dtj9dqc0DDQ+M+1M979XL8tfqCtZ17xluTi7QAdcq8xIX8ev1hkkkv6elxhjvcqFww9w45cpB76MFuW0dzfi7/32wFkwpwc5ih0+Qcp1qqJspiQKG3/2ur9sNndBejYmtNY4i5mhlllXCiF/87PKRTZ", "publicKey": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAp8Lyu97qLsfu8MFC1xNTnEyTvymLgpcG19wdeY2hNikluz1SFZC3oSeoM9D5yF3XaRWikYKF9X456L2lLQNp92N1c2h0dDhGmBvUrZBxorF53Qzbms8yegXlL7ygPNzlQeSTJ+7JHntxatvVD40S4WDRp5rP0cuwaVGEjtinYzRg4BP6g3XOz1Esw4rzO+gV3XA0B66z+kRnqgS+Gv9xv4Kt40ozKAyztbzM3VcxUQF9n0TgkgSOuNWP1Aa8ndwkB17LFAQSPSoN4RDutLa9l/6BQxMSDjT+PMuTZrD7DUSsP4SfDGGjAwMaKbmjKuV1ENxLjkH+tx1jqe+f0STY1wIDAQAB" }
Used in use cases (2 recipes)
String & encoding developer › Encrypt, decrypt and sign a secret
Security engineer › Field-level encryption of an IBAN with key escrow
String & encoding developer › Encrypt, decrypt and sign a secret
Security engineer › Field-level encryption of an IBAN with key escrow
Often used with
string decode_pbe · string decode_rsa · string encode_pbe · string encode_rsa · string generate_random_str · json fields · string contains · string decode_blowfish
string decode_pbe · string decode_rsa · string encode_pbe · string encode_rsa · string generate_random_str · json fields · string contains · string decode_blowfish
string encode_rsa <data> <publicKey> <privateKey>
Description
Encode a string with the DES algorithm
Encode a string with the DES algorithm
Parameters
data: The data string - String - required
publicKey: The public key - String - required
privateKey: The private key - String - required
data: The data string - String - required
publicKey: The public key - String - required
privateKey: The private key - String - required
admin
string encode_rsa "azerty" (json select "keyId" "/publicKey") (json select "keyId" "/privateKey")
mentdb
AI1yh7NIDFHjWeO3PKOTdC0sJC68MyZtCJvjG3fpkTFenS+8jSuS4qtq6XNB9X5fzBuyKKD0Cpcn4k8ePmoYJxuPdjnwLrE807QR/hl20lOUn773ldViV91LH0/nlfkxBeiEGjrUwN8he8nqeF8pVSqZiJpz5+YxnnG3nxcLQB1YABSlAtC9hx41+BLUbJx5AMFgtGZ72q/XxeTCKs8vXUc6TtAtF9TPvNznN506/TsS+CeaPAkLdwC3yLeI+u6Wlf9EwPDyfUtcpIvDxcRgWJYy1lwjgONCpRbgQTyX01Uk+dXAgctozYZnlVoyllwe5pevMemGG8y87llBJImCJCA=
string decode_rsa <data> <privateKey>
Description
Decode a string with the DES algorithm
Decode a string with the DES algorithm
Parameters
data: The data string - String - required
privateKey: The private key - String - required
data: The data string - String - required
privateKey: The private key - String - required
admin
string decode_rsa "AI1yh7NIDFHjWeO3PKOTdC0sJC68MyZtCJvjG3fpkTFenS+8jSuS4qtq6XNB9X5fzBuyKKD0Cpcn4k8ePmoYJxuPdjnwLrE807QR/hl20lOUn773ldViV91LH0/nlfkxBeiEGjrUwN8he8nqeF8pVSqZiJpz5+YxnnG3nxcLQB1YABSlAtC9hx41+BLUbJx5AMFgtGZ72q/XxeTCKs8vXUc6TtAtF9TPvNznN506/TsS+CeaPAkLdwC3yLeI+u6Wlf9EwPDyfUtcpIvDxcRgWJYy1lwjgONCpRbgQTyX01Uk+dXAgctozYZnlVoyllwe5pevMemGG8y87llBJImCJCA=" (json select "keyId" "/privateKey")
mentdb
azerty
string encode_des_generate_key <keysize>
Description
Generate a key for DES encryption
Generate a key for DES encryption
Parameters
keysize: The key size - String - required
keysize: The key size - String - required
admin
string encode_des_generate_key "56"
mentdb
eVHgJt9uHAE=
string encode_des <data> <secretKey>
Description
Encode a string with the DES algorithm
Encode a string with the DES algorithm
Parameters
data: The data string - String - required
secretKey: The secret key - String - required
data: The data string - String - required
secretKey: The secret key - String - required
admin
string encode_des "azerty" "eVHgJt9uHAE="
mentdb
uMIF5QaE3zc=
string decode_des <data> <secretKey>
Description
Decode a string with the DES algorithm
Decode a string with the DES algorithm
Parameters
data: The data string - String - required
secretKey: The secret key - String - required
data: The data string - String - required
secretKey: The secret key - String - required
admin
string decode_des "uMIF5QaE3zc=" "eVHgJt9uHAE="
mentdb
azerty
string encode_blowfish <data> <secretKey>
Description
Encode a string with the Blowfish algorithm
Encode a string with the Blowfish algorithm
Parameters
data: The data string - String - required
secretKey: The secret key - String - required
data: The data string - String - required
secretKey: The secret key - String - required
admin
string encode_blowfish "azerty" "mySecretKey"
mentdb
HFnj8tkXUyY=
string decode_blowfish <data> <secretKey>
Description
Decode a string with the Blowfish algorithm
Decode a string with the Blowfish algorithm
Parameters
data: The data string - String - required
secretKey: The secret key - String - required
data: The data string - String - required
secretKey: The secret key - String - required
admin
string decode_blowfish "HFnj8tkXUyY=" "mySecretKey"
mentdb
azerty
string encode_pbe <data> <password>
Description
Encode a string with the PBE algorithm
Encode a string with the PBE algorithm
Parameters
data: The data string - String - required
password: The password - String - required
data: The data string - String - required
password: The password - String - required
admin
string encode_pbe "azerty" "myPassword"
mentdb
{"encrypted":"gREfhYMVFjs=","params":"MA0ECG5GZ4n6ieTAAgEK"}
string decode_pbe <json_data> <password>
Description
Decode a string with the PBE algorithm
Decode a string with the PBE algorithm
Parameters
json_data: The JSON data and parameters string - String - required
password: The password - String - required
json_data: The JSON data and parameters string - String - required
password: The password - String - required
admin
string decode_pbe "{\"encrypted\":\"gREfhYMVFjs=\",\"params\":\"MA0ECG5GZ4n6ieTAAgEK\"}" "myPassword"
mentdb
azerty
string encode_b64 <string>
Description
Encode a string in Base64
Encode a string in Base64
Parameters
string: The string - String - required
string: The string - String - required
admin
string encode_b64 "azerty"
mentdb
YXplcnR5
Used in use cases (13 recipes)
String & encoding developer › Encode a payment callback and check it
Web application developer › Generate an ajax form and test it
Screen & UI developer (sajax) › A remote script behind a page button
Web & API developer › Encode an HTTP request: Basic auth, query string, safe HTML
Security engineer › Signed licence key checked offline
Web application developer › The server action behind the Save button
and 7 more in the Use cases
String & encoding developer › Encode a payment callback and check it
Web application developer › Generate an ajax form and test it
Screen & UI developer (sajax) › A remote script behind a page button
Web & API developer › Encode an HTTP request: Basic auth, query string, safe HTML
Security engineer › Signed licence key checked offline
Web application developer › The server action behind the Save button
and 7 more in the Use cases
Often used with
include · concat_var · html close · html load_from_str · html parse · string decode_b64 · script create · string html_escape
include · concat_var · html close · html load_from_str · html parse · string decode_b64 · script create · string html_escape
string decode_b64 <string>
Description
Decode a string from Base64
Decode a string from Base64
Parameters
string: The string - String - required
string: The string - String - required
admin
string decode_b64 "YXplcnR5"
mentdb
azerty
Used in use cases (9 recipes)
String & encoding developer › Encode a payment callback and check it
Web application developer › Generate an ajax form and test it
Screen & UI developer (sajax) › Bootstrap page skeleton with an onload call
Files & archives manager › Product picture to a BMP label for a thermal printer
Security engineer › Signed licence key checked offline
Web application developer › The server action behind the Save button
and 3 more in the Use cases
String & encoding developer › Encode a payment callback and check it
Web application developer › Generate an ajax form and test it
Screen & UI developer (sajax) › Bootstrap page skeleton with an onload call
Files & archives manager › Product picture to a BMP label for a thermal printer
Security engineer › Signed licence key checked offline
Web application developer › The server action behind the Save button
and 3 more in the Use cases
Often used with
string encode_b64 · include · concat_var · script create · script delete · string html_escape · string regexp_extract · date curdate
string encode_b64 · include · concat_var · script create · script delete · string html_escape · string regexp_extract · date curdate
string del_char_before_each_line <data> <nbChar>
Description
Delete a number of characters on each line
Delete a number of characters on each line
Parameters
data: The data - String - required
nbChar: The number of characters - Number - required
data: The data - String - required
nbChar: The number of characters - Number - required
admin
string del_char_before_each_line "sdlfkjdf dfgdfgdfgdfgd" 4
mentdb
kjdf fgdfgdfgd
Often used with
atom get · mql · string camel_case · string indent · string kebab_case · string length · string mql_to_html · string repeat
atom get · mql · string camel_case · string indent · string kebab_case · string length · string mql_to_html · string repeat
string mql_to_html <mql>
Description
Convert MQL source code to HTML
Convert MQL source code to HTML
Parameters
mql: The MQL source code - String - required
mql: The MQL source code - String - required
admin
in editor {string mql_to_html (mql { concat "r=" [R]; })};
mentdb
<span style='color:#003cc8'>concat</span> <span style='color:#007700'>"r="</span> <span style='color:#ba1c00'>[R]</span>;
Often used with
atom get · mql · string camel_case · string del_char_before_each_line · string indent · string kebab_case · string length · string repeat
atom get · mql · string camel_case · string del_char_before_each_line · string indent · string kebab_case · string length · string repeat
string ends_with <stringValue> <stringToEnd>
Description
Check if a value ends with another string
Check if a value ends with another string
Parameters
stringValue: The string - String - required
stringToEnd: The end string - String - required
stringValue: The string - String - required
stringToEnd: The end string - String - required
admin
string ends_with "azertyaze" t
mentdb
0
Used in use cases (7 recipes)
String & encoding developer › Parse an API access log line
Event developer › The watcher validates, a heavy loader runs later in the stack
The MQL language in depth › Coded errors, nested try and a finally step: a payment pipeline
API & database integrator › Read supplier invoices from an Office 365 mailbox
Automation architect › Supplier invoices from an IMAP mailbox to the stack
Event developer › Wait for the READY flag before loading the files
and 1 more in the Use cases
String & encoding developer › Parse an API access log line
Event developer › The watcher validates, a heavy loader runs later in the stack
The MQL language in depth › Coded errors, nested try and a finally step: a payment pipeline
API & database integrator › Read supplier invoices from an Office 365 mailbox
Automation architect › Supplier invoices from an IMAP mailbox to the stack
Event developer › Wait for the READY flag before loading the files
and 1 more in the Use cases
Often used with
and · cm get · date now · execute · json parse_array · mql · script create · script delete
and · cm get · date now · execute · json parse_array · mql · script create · script delete
string first_letter_upper <str>
Description
Returns the string with the first letter in uppercase and the rest of the string in lowercase.
Returns the string with the first letter in uppercase and the rest of the string in lowercase.
Parameters
str: The string - String - required
str: The string - String - required
admin
string first_letter_upper "azerty"
mentdb
Azerty
Used in use cases (2 recipes)
String & encoding developer › Clean a customer line before import
String & encoding developer › Mail merge: fill a template from JSON data
String & encoding developer › Clean a customer line before import
String & encoding developer › Mail merge: fill a template from JSON data
Often used with
string lpad · string trim · date format · json parse_obj · json uobject · math frac_part · math trunc · string capitalize_words
string lpad · string trim · date format · json parse_obj · json uobject · math frac_part · math trunc · string capitalize_words
string first_letter <str>
Description
Returns the first letter of a string.
Returns the first letter of a string.
Parameters
str: The string - String - required
str: The string - String - required
admin
string first_letter "azerty"
mentdb
a
Often used with
string capitalize_words · string csv_value · string empty_if_null · string first_letter_upper · string instr · string is_blank · string itrim · string lcase
string capitalize_words · string csv_value · string empty_if_null · string first_letter_upper · string instr · string is_blank · string itrim · string lcase
string generate_random_str <size>
Description
Generate a random string, with the length of the random string as parameter.
Generate a random string, with the length of the random string as parameter.
Parameters
size: The size of the string - String - required
size: The size of the string - String - required
admin
string generate_random_str 1
mentdb
D
Used in use cases (8 recipes)
String & encoding developer › Encrypt, decrypt and sign a secret
Scheduler developer › Prove a job ran with the log table
Conversational bot designer › Offboarding a user of a bot
Application developer › New web application on its own domain
Security engineer › Generate a password and measure its strength
Application developer › Onboard a partner account on a web service
and 2 more in the Use cases
String & encoding developer › Encrypt, decrypt and sign a secret
Scheduler developer › Prove a job ran with the log table
Conversational bot designer › Offboarding a user of a bot
Application developer › New web application on its own domain
Security engineer › Generate a password and measure its strength
Application developer › Onboard a partner account on a web service
and 2 more in the Use cases
Often used with
user check password · group add · group grant user · log write · script create · script delete · string decode_pbe · string decode_rsa
user check password · group add · group grant user · log write · script create · script delete · string decode_pbe · string decode_rsa
string hex <num>
Description
Returns a string representation of the hexadecimal value of num, where num is a long int (bigint) number
Returns a string representation of the hexadecimal value of num, where num is a long int (bigint) number
Parameters
num: The number - Number - required
num: The number - Number - required
admin
string hex 97
mentdb
61
Often used with
string ascii · string bin · string char · string char_to_int · string hex_to_int · string hex_to_str · string int_to_char · string int_to_hex
string ascii · string bin · string char · string char_to_int · string hex_to_int · string hex_to_str · string int_to_char · string int_to_hex
string hex_to_int <hex>
Description
Convert a hexadecimal number to a long int (bigint) number
Convert a hexadecimal number to a long int (bigint) number
Parameters
hex: The hex number - String - required
hex: The hex number - String - required
admin
string hex_to_int 97
mentdb
151
Used in use cases (5 recipes)
MQL developer › Stable A/B test buckets from a hash
String & encoding developer › Colors, permissions and character codes
Cryptographer & number theorist › Period and balance of an 8-bit LFSR keystream
IoT & sensor engineer › Decode and acknowledge a Modbus status register
Web & API developer › WCAG contrast ratio of a button color
MQL developer › Stable A/B test buckets from a hash
String & encoding developer › Colors, permissions and character codes
Cryptographer & number theorist › Period and balance of an 8-bit LFSR keystream
IoT & sensor engineer › Decode and acknowledge a Modbus status register
Web & API developer › WCAG contrast ratio of a button color
Often used with
string int_to_hex · math bit_and · math bit_or · math bit_xor · math power · string bin · string left · string lpad
string int_to_hex · math bit_and · math bit_or · math bit_xor · math power · string bin · string left · string lpad
string hex_to_str <hex>
Description
Get the ASCII character associated with a hexadecimal number.
Get the ASCII character associated with a hexadecimal number.
Parameters
hex: The hexadecimal number - String - required
hex: The hexadecimal number - String - required
admin
string hex_to_str 61
mentdb
a
Often used with
string ascii · string bin · string char · string char_to_int · string hex · string hex_to_int · string int_to_char · string int_to_hex
string ascii · string bin · string char · string char_to_int · string hex · string hex_to_int · string int_to_char · string int_to_hex
string indent <str> <nbSpaceBefore>
Description
Returns the indented string
Returns the indented string
Parameters
str: The string - String - required
nbSpaceBefore: The string - String - required
str: The string - String - required
nbSpaceBefore: The string - String - required
admin
string indent "azerty a b c" 3
mentdb
azerty a b c
Often used with
atom get · mql · string camel_case · string del_char_before_each_line · string kebab_case · string length · string mql_to_html · string repeat
atom get · mql · string camel_case · string del_char_before_each_line · string kebab_case · string length · string mql_to_html · string repeat
string instr <str1> <str2>
Description
Returns the index within this string of the first occurrence of the specified substring
Returns the index within this string of the first occurrence of the specified substring
Parameters
str1: The string - String - required
str2: The string - String - required
str1: The string - String - required
str2: The string - String - required
admin
string instr "azerty" "r"
mentdb
3
string instr <str1> <str2> <fromIndex>
Description
Returns the index within this string of the first occurrence of the specified substring, starting at the specified index
Returns the index within this string of the first occurrence of the specified substring, starting at the specified index
Parameters
str1: The string - String - required
str2: The string - String - required
fromIndex: The start index - Number - required
str1: The string - String - required
str2: The string - String - required
fromIndex: The start index - Number - required
admin
string instr "azerty" "r" 4
mentdb
-1
Used in use cases (7 recipes)
String & encoding developer › Clean a customer line before import
CRUD & data API developer › Inspect the table before writing the API
String & encoding developer › Encode a payment callback and check it
String & encoding developer › Match a typed product name to the catalog
String & encoding developer › Mask personal data before writing a log line
CRUD & data API developer › Data quality check on the table
and 1 more in the Use cases
String & encoding developer › Clean a customer line before import
CRUD & data API developer › Inspect the table before writing the API
String & encoding developer › Encode a payment callback and check it
String & encoding developer › Match a typed product name to the catalog
String & encoding developer › Mask personal data before writing a log line
CRUD & data API developer › Data quality check on the table
and 1 more in the Use cases
Often used with
string substr · string lower · atom get · sql disconnect · string contains · string left · string length · string mid
string substr · string lower · atom get · sql disconnect · string contains · string left · string length · string mid
string int_to_char <num>
Description
Convert an integer to a character
Convert an integer to a character
Parameters
num: The number - Number - required
num: The number - Number - required
admin
string int_to_char 97
mentdb
a
Often used with
string ascii · string bin · string char · string char_to_int · string hex · string hex_to_int · string hex_to_str · string int_to_hex
string ascii · string bin · string char · string char_to_int · string hex · string hex_to_int · string hex_to_str · string int_to_hex
string int_to_hex <num>
Description
Returns a string representation of the hexadecimal value of n, where n is a long int (bigint) number
Returns a string representation of the hexadecimal value of n, where n is a long int (bigint) number
Parameters
num: The number - Number - required
num: The number - Number - required
admin
string int_to_hex 97
mentdb
61
Used in use cases (6 recipes)
String & encoding developer › Colors, permissions and character codes
Cryptographer & number theorist › Two-time pad: breaking a reused one-time key
IoT & sensor engineer › Decode and acknowledge a Modbus status register
Web & API developer › Decode and build a Snowflake id
Security engineer › Subnet of a CIDR block and firewall check
Cryptographer & number theorist › Period and balance of an 8-bit LFSR keystream
String & encoding developer › Colors, permissions and character codes
Cryptographer & number theorist › Two-time pad: breaking a reused one-time key
IoT & sensor engineer › Decode and acknowledge a Modbus status register
Web & API developer › Decode and build a Snowflake id
Security engineer › Subnet of a CIDR block and firewall check
Cryptographer & number theorist › Period and balance of an 8-bit LFSR keystream
Often used with
math bit_and · math bit_or · math bit_xor · string hex_to_int · string lpad · bd* · bd+ · bigdec div
math bit_and · math bit_or · math bit_xor · string hex_to_int · string lpad · bd* · bd+ · bigdec div
string int_to_oct <num>
Description
Returns a string representation of the octal value of n, where n is a long int (bigint) number
Returns a string representation of the octal value of n, where n is a long int (bigint) number
Parameters
num: The number - Number - required
num: The number - Number - required
admin
string int_to_oct 97
mentdb
141
Used in use cases (2 recipes)
String & encoding developer › Colors, permissions and character codes
Security engineer › Audit of Unix file permissions
String & encoding developer › Colors, permissions and character codes
Security engineer › Audit of Unix file permissions
Often used with
string mid · and · json parse_obj · math bit_and · math bit_xor · not · string ascii · string bin
string mid · and · json parse_obj · math bit_and · math bit_xor · not · string ascii · string bin
string is_letter <value>
Description
Check if a value contains only letters
Check if a value contains only letters
Parameters
value: The value - String - required
value: The value - String - required
admin
string is_letter "abcd"
mentdb
1
Used in use cases (1 recipe)
String & encoding developer › Match a typed product name to the catalog
String & encoding developer › Match a typed product name to the catalog
Often used with
json load select · string instr · string is_alpha_num · string is_alpha_num_uds · string is_number_char · string left · string levenshtein_distance · string locate
json load select · string instr · string is_alpha_num · string is_alpha_num_uds · string is_number_char · string left · string levenshtein_distance · string locate
string is_alpha_num_uds <value>
Description
Check if a value contains only letters, underscores or digits
Check if a value contains only letters, underscores or digits
Parameters
value: The value - String - required
value: The value - String - required
admin
string is_alpha_num_uds "abc_12d"
mentdb
1
Used in use cases (1 recipe)
String & encoding developer › Match a typed product name to the catalog
String & encoding developer › Match a typed product name to the catalog
Often used with
json load select · string instr · string is_alpha_num · string is_letter · string is_number_char · string left · string levenshtein_distance · string locate
json load select · string instr · string is_alpha_num · string is_letter · string is_number_char · string left · string levenshtein_distance · string locate
string is_alpha_num <value>
Description
Check if a value contains only letters or digits
Check if a value contains only letters or digits
Parameters
value: The value - String - required
value: The value - String - required
admin
string is_alpha_num "abc12d"
mentdb
1
Used in use cases (1 recipe)
String & encoding developer › Match a typed product name to the catalog
String & encoding developer › Match a typed product name to the catalog
Often used with
json load select · string instr · string is_alpha_num_uds · string is_letter · string is_number_char · string left · string levenshtein_distance · string locate
json load select · string instr · string is_alpha_num_uds · string is_letter · string is_number_char · string left · string levenshtein_distance · string locate
string is_number_char <value>
Description
Check if a value contains only digits
Check if a value contains only digits
Parameters
value: The value - String - required
value: The value - String - required
admin
string is_number_char "-456.45"
mentdb
0
Used in use cases (1 recipe)
String & encoding developer › Match a typed product name to the catalog
String & encoding developer › Match a typed product name to the catalog
Often used with
json load select · string instr · string is_alpha_num · string is_alpha_num_uds · string is_letter · string left · string levenshtein_distance · string locate
json load select · string instr · string is_alpha_num · string is_alpha_num_uds · string is_letter · string left · string levenshtein_distance · string locate
string itrim <str>
Description
Replace multiple spaces between words by a single space
Replace multiple spaces between words by a single space
Parameters
str: The string - String - required
str: The string - String - required
admin
string itrim "aze rty"
mentdb
aze rty
Used in use cases (2 recipes)
String & encoding developer › Clean a customer line before import
Text & language processing › Match a customer message to a chatbot intent
String & encoding developer › Clean a customer line before import
Text & language processing › Match a customer message to a chatbot intent
Often used with
string lower · string trim · string unaccent · json doc · string capitalize_words · string csv_value · string empty_if_null · string first_letter
string lower · string trim · string unaccent · json doc · string capitalize_words · string csv_value · string empty_if_null · string first_letter
string lcase <str>
Description
Converts all the characters of the string to lower case using the rules of the default locale
Converts all the characters of the string to lower case using the rules of the default locale
Parameters
str: The string - String - required
str: The string - String - required
admin
string lcase "AZERTY"
mentdb
azerty
Often used with
string capitalize_words · string csv_value · string empty_if_null · string first_letter · string first_letter_upper · string instr · string is_blank · string itrim
string capitalize_words · string csv_value · string empty_if_null · string first_letter · string first_letter_upper · string instr · string is_blank · string itrim
string left <str> <len>
Description
Returns every index of a string until the number of characters returned is equal to the n parameter sent.
Returns every index of a string until the number of characters returned is equal to the n parameter sent.
Parameters
str: The string - String - required
len: The length - Number - required
str: The string - String - required
len: The length - Number - required
admin
string left "AZERTY" 3
mentdb
AZE
Used in use cases (39 recipes)
MQL developer › Stable A/B test buckets from a hash
Date & time developer › Batch window from a legacy file header
String & encoding developer › Parse an API access log line
Data validation developer › Sign-up form: dates, hours and password
JSON & document store developer › Build an order document and its ETag
Configuration & connections › Store an API URL and a private API key as parameters
and 33 more in the Use cases
MQL developer › Stable A/B test buckets from a hash
Date & time developer › Batch window from a legacy file header
String & encoding developer › Parse an API access log line
Data validation developer › Sign-up form: dates, hours and password
JSON & document store developer › Build an order document and its ETag
Configuration & connections › Store an API URL and a private API key as parameters
and 33 more in the Use cases
Often used with
string length · string regexp_replace · and · atom get · json doc · string replace · string right · json iarray
string length · string regexp_replace · and · atom get · json doc · string replace · string right · json iarray
string length <str>
Description
Returns the length of the string. The length is equal to the number of Unicode code units in the string.
Returns the length of the string. The length is equal to the number of Unicode code units in the string.
Parameters
str: The string - String - required
str: The string - String - required
admin
string length "azerty"
mentdb
6
Used in use cases (47 recipes)
Backend & web service developer › Bulk import endpoint with a line by line report
String & encoding developer › SQL table and API names from form labels
Data validation developer › Password policy with an entropy estimate
Script developer › Back up a script before deleting it
Web service developer › Continue the trace of the caller in a web service (W3C Trace Context)
Configuration & connections › Store an API URL and a private API key as parameters
and 41 more in the Use cases
Backend & web service developer › Bulk import endpoint with a line by line report
String & encoding developer › SQL table and API names from form labels
Data validation developer › Password policy with an entropy estimate
Script developer › Back up a script before deleting it
Web service developer › Continue the trace of the caller in a web service (W3C Trace Context)
Configuration & connections › Store an API URL and a private API key as parameters
and 41 more in the Use cases
Often used with
string left · string regexp_count · string replace · atom get · string substring · atom size · json doc · not
string left · string regexp_count · string replace · atom get · string substring · atom size · json doc · not
string like <str> <pat>
Description
Performs a pattern match of a string expression expr against a pattern pat
Performs a pattern match of a string expression expr against a pattern pat
Parameters
str: The string - String - required
pat: The pattern - String - required
str: The string - String - required
pat: The pattern - String - required
admin
string like "azerty" ".*ze.*"
mentdb
1
Often used with
string contains · string contains_ignore_case · string count · string ends_with · string equals_ignore_case · string get_variable · string left · string matches
string contains · string contains_ignore_case · string count · string ends_with · string equals_ignore_case · string get_variable · string left · string matches
string locate <str1> <str2>
Description
Returns the index within this string of the first occurrence of the specified substring
Returns the index within this string of the first occurrence of the specified substring
Parameters
str1: The string - String - required
str2: The string - String - required
str1: The string - String - required
str2: The string - String - required
admin
string locate "azerty" "r"
mentdb
3
string locate <str1> <str2> <fromIndex>
Description
Returns the index within this string of the first occurrence of the specified substring, starting at the specified index
Returns the index within this string of the first occurrence of the specified substring, starting at the specified index
Parameters
str1: The string - String - required
str2: The string - String - required
fromIndex: The start index - Number - required
str1: The string - String - required
str2: The string - String - required
fromIndex: The start index - Number - required
admin
string locate "azerty" "r" 4
mentdb
-1
Used in use cases (2 recipes)
String & encoding developer › Match a typed product name to the catalog
Web & API developer › Parse a Cookie header and a form body
String & encoding developer › Match a typed product name to the catalog
Web & API developer › Parse a Cookie header and a form body
Often used with
atom get · json doc · json iobject · json load select · json parse_array · string html_escape · string html_unescape · string instr
atom get · json doc · json iobject · json load select · json parse_array · string html_escape · string html_unescape · string instr
string lower <str>
Description
Converts all the characters of the string to lower case using the rules of the default locale
Converts all the characters of the string to lower case using the rules of the default locale
Parameters
str: The string - String - required
str: The string - String - required
admin
string lower "AZERTY"
mentdb
azerty
Used in use cases (23 recipes)
Backend & web service developer › Bulk import endpoint with a line by line report
String & encoding developer › Clean a customer line before import
Data validation developer › Password policy with an entropy estimate
Event developer › Route the dropped files by type and content
Algorithms in MQL › Palindromes and anagrams
The MQL language in depth › Booleans and feature flags typed by hand
and 17 more in the Use cases
Backend & web service developer › Bulk import endpoint with a line by line report
String & encoding developer › Clean a customer line before import
Data validation developer › Password policy with an entropy estimate
Event developer › Route the dropped files by type and content
Algorithms in MQL › Palindromes and anagrams
The MQL language in depth › Booleans and feature flags typed by hand
and 17 more in the Use cases
Often used with
string regexp_replace · json doc · string trim · not · json parse_array · string unaccent · atom get · atom size
string regexp_replace · json doc · string trim · not · json parse_array · string unaccent · atom get · atom size
string lpad <str> <padString> <paddedLength>
Description
Pads the left side of a string with a specific set of characters
Pads the left side of a string with a specific set of characters
Parameters
str: The string - String - required
padString: The pad string - String - required
paddedLength: The end of the substring - Number - required
str: The string - String - required
padString: The pad string - String - required
paddedLength: The end of the substring - Number - required
admin
string lpad "azertyaze" "#" 10
mentdb
#azertyaze
Used in use cases (17 recipes)
MQL beginner › Split a bill: functions inside functions
MQL developer › User rights as a bitmask
Date & time developer › French public holidays and a delivery date in working days
String & encoding developer › Clean a customer line before import
Data validation developer › French company VAT number and social security key
JSON & document store developer › Invoice numbers from a sequence
and 11 more in the Use cases
MQL beginner › Split a bill: functions inside functions
MQL developer › User rights as a bitmask
Date & time developer › French public holidays and a delivery date in working days
String & encoding developer › Clean a customer line before import
Data validation developer › French company VAT number and social security key
JSON & document store developer › Invoice numbers from a sequence
and 11 more in the Use cases
Often used with
string trim · math bit_xor · math bit_and · math bit_or · math trunc · string length · string upper · atom get
string trim · math bit_xor · math bit_and · math bit_or · math trunc · string length · string upper · atom get
string lrtrim <str>
Description
Returns the string without space characters on the left and on the right
Returns the string without space characters on the left and on the right
Parameters
str: The string - String - required
str: The string - String - required
admin
string lrtrim " azerty "
mentdb
azerty
Often used with
string capitalize_words · string csv_value · string empty_if_null · string first_letter · string first_letter_upper · string instr · string is_blank · string itrim
string capitalize_words · string csv_value · string empty_if_null · string first_letter · string first_letter_upper · string instr · string is_blank · string itrim
string lrtrim0 <str>
Description
Returns the string without 0 characters on the left and on the right
Returns the string without 0 characters on the left and on the right
Parameters
str: The string - String - required
str: The string - String - required
admin
string lrtrim0 " 123 "
mentdb
123
Used in use cases (2 recipes)
String & encoding developer › Clean a customer line before import
String & encoding developer › Write and read a fixed width bank transfer file
String & encoding developer › Clean a customer line before import
String & encoding developer › Write and read a fixed width bank transfer file
Often used with
string lpad · string rtrim · string unaccent · string upper · atom get · atom get_last · atom size · string capitalize_words
string lpad · string rtrim · string unaccent · string upper · atom get · atom get_last · atom size · string capitalize_words
string ltrim <str>
Description
Removes the space characters at the beginning of a string until a different character is found.
Removes the space characters at the beginning of a string until a different character is found.
Parameters
str: The string - String - required
str: The string - String - required
admin
string ltrim " azerty "
mentdb
azerty
Often used with
string capitalize_words · string csv_value · string empty_if_null · string first_letter · string first_letter_upper · string instr · string is_blank · string itrim
string capitalize_words · string csv_value · string empty_if_null · string first_letter · string first_letter_upper · string instr · string is_blank · string itrim
string matches <str> <pat>
Description
Verify if two strings match; the use of '.*' for autocompletion is handled.
Verify if two strings match; the use of '.*' for autocompletion is handled.
Parameters
str: The string - String - required
pat: The pattern - String - required
str: The string - String - required
pat: The pattern - String - required
admin
string matches "azerty" ".*ze.*"
mentdb
1
Used in use cases (8 recipes)
String & encoding developer › Parse an API access log line
Script developer › Back up a script before deleting it
Web service developer › GET: one order, 404, or the list
Script developer › Copy, rename and delete a module by prefix
Web service developer › PUT: update a status along a workflow
Web service developer › DELETE: idempotent delete with an audit trail
and 2 more in the Use cases
String & encoding developer › Parse an API access log line
Script developer › Back up a script before deleting it
Web service developer › GET: one order, 404, or the list
Script developer › Copy, rename and delete a module by prefix
Web service developer › PUT: update a status along a workflow
Web service developer › DELETE: idempotent delete with an audit trail
and 2 more in the Use cases
Often used with
script create · execute · script delete · string regexp_replace · string regexp_extract · is null · node create · node delete
script create · execute · script delete · string regexp_replace · string regexp_extract · is null · node create · node delete
string mid <str> <index>
Description
Returns a new string starting at index.
Returns a new string starting at index.
Parameters
str: The string - String - required
index: The beginning of the substring - Number - required
str: The string - String - required
index: The beginning of the substring - Number - required
admin
string mid "azertyaze" 3
mentdb
rtyaze
string mid <str> <beginIndex> <endIndex>
Description
Returns a new string that starts at beginIndex of the original string and ends at endIndex of the original string.
Returns a new string that starts at beginIndex of the original string and ends at endIndex of the original string.
Parameters
str: The string - String - required
beginIndex: The beginning of the substring - Number - required
endIndex: The end of the substring - Number - required
str: The string - String - required
beginIndex: The beginning of the substring - Number - required
endIndex: The end of the substring - Number - required
admin
string mid "azertyaze" 3 5
mentdb
rt
Used in use cases (11 recipes)
String & encoding developer › Clean a customer line before import
Data validation developer › Supplier onboarding validation report
Logistics & supply chain › SSCC numbers of pallet labels
Sales & marketing analyst › RFM segmentation of customers
Web & API developer › Parse a Cookie header and a form body
Security engineer › Audit of Unix file permissions
and 5 more in the Use cases
String & encoding developer › Clean a customer line before import
Data validation developer › Supplier onboarding validation report
Logistics & supply chain › SSCC numbers of pallet labels
Sales & marketing analyst › RFM segmentation of customers
Web & API developer › Parse a Cookie header and a form body
Security engineer › Audit of Unix file permissions
and 5 more in the Use cases
Often used with
json doc · and · atom get · json iarray · json parse_array · string left · string length · string lower
json doc · and · atom get · json iarray · json parse_array · string left · string length · string lower
string not_like <str> <pat>
Description
Verify if two strings are different.
Verify if two strings are different.
Parameters
str: The string - String - required
pat: The pattern - String - required
str: The string - String - required
pat: The pattern - String - required
admin
string not_like "azerty" ".*ze.*"
mentdb
0
Often used with
string contains · string contains_ignore_case · string count · string ends_with · string equals_ignore_case · string get_variable · string left · string like
string contains · string contains_ignore_case · string count · string ends_with · string equals_ignore_case · string get_variable · string left · string like
string not_regexp <str> <pat>
Description
Verify if two strings are different.
Verify if two strings are different.
Parameters
str: The string - String - required
pat: The pattern - String - required
str: The string - String - required
pat: The pattern - String - required
admin
string not_regexp "azerty" ".*ze.*"
mentdb
0
Often used with
string contains · string contains_ignore_case · string count · string ends_with · string equals_ignore_case · string get_variable · string left · string like
string contains · string contains_ignore_case · string count · string ends_with · string equals_ignore_case · string get_variable · string left · string like
string oct <num>
Description
Convert num, which is an int, to its octal form.
Convert num, which is an int, to its octal form.
Parameters
num: The number - Number - required
num: The number - Number - required
admin
string oct 97
mentdb
141
Often used with
string ascii · string bin · string char · string char_to_int · string hex · string hex_to_int · string hex_to_str · string int_to_char
string ascii · string bin · string char · string char_to_int · string hex · string hex_to_int · string hex_to_str · string int_to_char
string oct_to_int <oct>
Description
Convert oct, which is an octal number, to a long int (bigint).
Convert oct, which is an octal number, to a long int (bigint).
Parameters
oct: The octal number - String - required
oct: The octal number - String - required
admin
string oct_to_int "15"
mentdb
13
Often used with
string ascii · string bin · string char · string char_to_int · string hex · string hex_to_int · string hex_to_str · string int_to_char
string ascii · string bin · string char · string char_to_int · string hex · string hex_to_int · string hex_to_str · string int_to_char
string position <str1> <str2>
Description
Returns the index at which the first occurrence has been found.
Returns the index at which the first occurrence has been found.
Parameters
str1: The string - String - required
str2: The string - String - required
str1: The string - String - required
str2: The string - String - required
admin
string position "azerty" "r"
mentdb
3
string position <str1> <str2> <fromIndex>
Description
Returns the index within this string of the first occurrence of the specified substring, starting at the specified index
Returns the index within this string of the first occurrence of the specified substring, starting at the specified index
Parameters
str1: The string - String - required
str2: The string - String - required
fromIndex: The start index - Number - required
str1: The string - String - required
str2: The string - String - required
fromIndex: The start index - Number - required
admin
string position "azerty" "r" 4
mentdb
-1
Used in use cases (1 recipe)
String & encoding developer › Match a typed product name to the catalog
String & encoding developer › Match a typed product name to the catalog
Often used with
json load select · string instr · string is_alpha_num · string is_alpha_num_uds · string is_letter · string is_number_char · string left · string levenshtein_distance
json load select · string instr · string is_alpha_num · string is_alpha_num_uds · string is_letter · string is_number_char · string left · string levenshtein_distance
string regexp <str> <pat>
Description
Verify if two strings are identical.
Verify if two strings are identical.
Parameters
str: The string - String - required
pat: The pattern - String - required
str: The string - String - required
pat: The pattern - String - required
admin
string regexp "azerty" ".*ze.*"
mentdb
1
Used in use cases (6 recipes)
String & encoding developer › Parse an API access log line
Data validation developer › Password policy with an entropy estimate
Excel reporting analyst › Clean a contact list: trim, validate emails, flag duplicates
Accountant & manager › Bank reconciliation of account 512
Security engineer › Generate a password and measure its strength
Excel reporting analyst › Migrate a legacy XLS price list to XLSX, formulas included
String & encoding developer › Parse an API access log line
Data validation developer › Password policy with an entropy estimate
Excel reporting analyst › Clean a contact list: trim, validate emails, flag duplicates
Accountant & manager › Bank reconciliation of account 512
Security engineer › Generate a password and measure its strength
Excel reporting analyst › Migrate a legacy XLS price list to XLSX, formulas included
Often used with
string regexp_replace · not · excelx cell eval · excelx cell set · excelx close · excelx load empty · excelx save · excelx sheet add
string regexp_replace · not · excelx cell eval · excelx cell set · excelx close · excelx load empty · excelx save · excelx sheet add
string repeat <str> <count>
Description
Returns the string passed as parameter repeated count times.
Returns the string passed as parameter repeated count times.
Parameters
str: The string - String - required
count: The count - Number - required
str: The string - String - required
count: The count - Number - required
admin
string repeat "AZERTY" 3
mentdb
AZERTYAZERTYAZERTY
Used in use cases (4 recipes)
String & encoding developer › SQL table and API names from form labels
Configuration & connections › Store an API URL and a private API key as parameters
Security engineer › Field-level encryption of an IBAN with key escrow
String & encoding developer › Mask personal data before writing a log line
String & encoding developer › SQL table and API names from form labels
Configuration & connections › Store an API URL and a private API key as parameters
Security engineer › Field-level encryption of an IBAN with key escrow
String & encoding developer › Mask personal data before writing a log line
Often used with
string left · string length · string contains · string regexp_replace · string replace · string right · string sha_256 · string substring
string left · string length · string contains · string regexp_replace · string replace · string right · string sha_256 · string substring
string repeat_insert_str <str> <strToInsert> <incr>
Description
Returns str with strToInsert inserted every n characters
Returns str with strToInsert inserted every n characters
Parameters
str: The string - String - required
strToInsert: The string to insert - String - required
incr: The increment - Number - required
str: The string - String - required
strToInsert: The string to insert - String - required
incr: The increment - Number - required
admin
string repeat_insert_str "azertyuiop" "-" 3
mentdb
aze-rty-uio-p-
Used in use cases (3 recipes)
String & encoding developer › Match a typed product name to the catalog
String & encoding developer › Mail merge: fill a template from JSON data
String & encoding developer › Mask personal data before writing a log line
String & encoding developer › Match a typed product name to the catalog
String & encoding developer › Mail merge: fill a template from JSON data
String & encoding developer › Mask personal data before writing a log line
Often used with
string instr · string left · string length · string lower · string regexp_count · string regexp_extract · string regexp_replace · string replace
string instr · string left · string length · string lower · string regexp_count · string regexp_extract · string regexp_replace · string replace
string replace <str> <target> <replacement>
Description
Replaces every occurrence of 'target' by the 'replacement' parameter in the string sent to this function.
Replaces every occurrence of 'target' by the 'replacement' parameter in the string sent to this function.
Parameters
str: The string - String - required
target: The target string - String - required
replacement: The replacement - String - required
str: The string - String - required
target: The target string - String - required
replacement: The replacement - String - required
admin
string replace "azerty" "z" 9
mentdb
a9erty
Used in use cases (66 recipes)
MQL beginner › Loop over the lines of a JSON order
MQL developer › Sort CSV columns: text sort versus numeric sorts
Backend & web service developer › Read server parameters and trace a run in the logs
Date & time developer › French public holidays and a delivery date in working days
String & encoding developer › SQL table and API names from form labels
Data validation developer › Validate an API payload against its contract
and 60 more in the Use cases
MQL beginner › Loop over the lines of a JSON order
MQL developer › Sort CSV columns: text sort versus numeric sorts
Backend & web service developer › Read server parameters and trace a run in the logs
Date & time developer › French public holidays and a delivery date in working days
String & encoding developer › SQL table and API names from form labels
Data validation developer › Validate an API payload against its contract
and 60 more in the Use cases
Often used with
atom get · string regexp_extract · execute · script delete · atom size · eval · string length · string regexp_replace
atom get · string regexp_extract · execute · script delete · atom size · eval · string length · string regexp_replace
string reverse <str>
Description
Returns the reversed form of 'str'.
Returns the reversed form of 'str'.
Parameters
str: The string - String - required
str: The string - String - required
admin
string reverse "AZERTY"
mentdb
YTREZA
Used in use cases (6 recipes)
String & encoding developer › Match a typed product name to the catalog
Algorithms in MQL › Palindromes and anagrams
Control flow › Paginate a REST export with for
Logistics & supply chain › SSCC numbers of pallet labels
Text & language processing › Palindromes and anagram groups of a word corpus
String & encoding developer › Mail merge: fill a template from JSON data
String & encoding developer › Match a typed product name to the catalog
Algorithms in MQL › Palindromes and anagrams
Control flow › Paginate a REST export with for
Logistics & supply chain › SSCC numbers of pallet labels
Text & language processing › Palindromes and anagram groups of a word corpus
String & encoding developer › Mail merge: fill a template from JSON data
Often used with
string length · not · string lower · string order · string regexp_replace · string substr · and · json uobject
string length · not · string lower · string order · string regexp_replace · string substr · and · json uobject
string right <str> <len>
Description
Get every character starting from the end of the string up to len.
Get every character starting from the end of the string up to len.
Parameters
str: The string - String - required
len: The length - Number - required
str: The string - String - required
len: The length - Number - required
admin
string right "AZERTY" 3
mentdb
RTY
Used in use cases (9 recipes)
String & encoding developer › Colors, permissions and character codes
Data validation developer › French company VAT number and social security key
Screen & UI developer (sajax) › Modal booking form with date, datetime, time and number pickers
System administrator & DevOps › Publish the counters of an application as a Prometheus /metrics page
Logistics & supply chain › SSCC numbers of pallet labels
Security engineer › Field-level encryption of an IBAN with key escrow
and 3 more in the Use cases
String & encoding developer › Colors, permissions and character codes
Data validation developer › French company VAT number and social security key
Screen & UI developer (sajax) › Modal booking form with date, datetime, time and number pickers
System administrator & DevOps › Publish the counters of an application as a Prometheus /metrics page
Logistics & supply chain › SSCC numbers of pallet labels
Security engineer › Field-level encryption of an IBAN with key escrow
and 3 more in the Use cases
Often used with
string left · string regexp_replace · string substring · string length · string lpad · string trim · string upper · math mod
string left · string regexp_replace · string substring · string length · string lpad · string trim · string upper · math mod
string rpad <str> <padString> <paddedLength>
Description
Add characters at the end of the string only if the specified 'paddedLength' is larger than the size of the original string.
Add characters at the end of the string only if the specified 'paddedLength' is larger than the size of the original string.
Parameters
str: The string - String - required
padString: The pad string - String - required
paddedLength: The end of the substring - Number - required
str: The string - String - required
padString: The pad string - String - required
paddedLength: The end of the substring - Number - required
admin
string rpad "azertyaze" "#" 10
mentdb
azertyaze#
Used in use cases (10 recipes)
MQL beginner › Loop over the lines of a JSON order
Date & time developer › GDPR retention: keep, anonymise or delete customers
String & encoding developer › SQL table and API names from form labels
Data validation developer › Password policy with an entropy estimate
CRUD & data API developer › Generate and review every SCRUD operation
The MQL language in depth › Null, empty and blank fields of an API payload
and 4 more in the Use cases
MQL beginner › Loop over the lines of a JSON order
Date & time developer › GDPR retention: keep, anonymise or delete customers
String & encoding developer › SQL table and API names from form labels
Data validation developer › Password policy with an entropy estimate
CRUD & data API developer › Generate and review every SCRUD operation
The MQL language in depth › Null, empty and blank fields of an API payload
and 4 more in the Use cases
Often used with
atom get · atom size · string substring · is empty · string length · string lpad · string regexp_count · string replace
atom get · atom size · string substring · is empty · string length · string lpad · string regexp_count · string replace
string rtrim <str>
Description
Removes the space characters at the end of the string until a character other than space is found.
Removes the space characters at the end of the string until a character other than space is found.
Parameters
str: The string - String - required
str: The string - String - required
admin
string rtrim " azerty "
mentdb
azerty
Used in use cases (2 recipes)
String & encoding developer › Clean a customer line before import
String & encoding developer › Write and read a fixed width bank transfer file
String & encoding developer › Clean a customer line before import
String & encoding developer › Write and read a fixed width bank transfer file
Often used with
string lpad · string lrtrim0 · string unaccent · string upper · atom get · atom get_last · atom size · string capitalize_words
string lpad · string lrtrim0 · string unaccent · string upper · atom get · atom get_last · atom size · string capitalize_words
string space <count>
Description
Returns a string composed of n space characters
Returns a string composed of n space characters
Parameters
count: The number of spaces - String - required
count: The number of spaces - String - required
admin
string space "5"
mentdb
Used in use cases (2 recipes)
String & encoding developer › SQL table and API names from form labels
String & encoding developer › Write and read a fixed width bank transfer file
String & encoding developer › SQL table and API names from form labels
String & encoding developer › Write and read a fixed width bank transfer file
Often used with
atom get · string length · string rpad · string substring · string unaccent · atom get_last · atom size · mql
atom get · string length · string rpad · string substring · string unaccent · atom get_last · atom size · mql
string split <str> <regex> <limit>
Description
Split a string using spaces as separators.
Split a string using spaces as separators.
Parameters
str: The string - String - required
regex: The regex - String - required
limit: The limit - Number - required
str: The string - String - required
regex: The regex - String - required
limit: The limit - Number - required
admin
string split "a b c" " " -1
mentdb
["a","b","c"]
Used in use cases (11 recipes)
String & encoding developer › Parse an API access log line
Algorithms in MQL › Palindromes and anagrams
Chemist › Balancing a redox equation with linear algebra
Integrator & ETL developer › Turn a partner CSV text into JSON objects
Accountant & manager › Gaps and duplicates in the invoice numbering
Web & API developer › Parse a Cookie header and a form body
and 5 more in the Use cases
String & encoding developer › Parse an API access log line
Algorithms in MQL › Palindromes and anagrams
Chemist › Balancing a redox equation with linear algebra
Integrator & ETL developer › Turn a partner CSV text into JSON objects
Accountant & manager › Gaps and duplicates in the invoice numbering
Web & API developer › Parse a Cookie header and a form body
and 5 more in the Use cases
Often used with
string regexp_replace · json doc · json parse_array · json iarray · string lower · string trim · json iobject · not
string regexp_replace · json doc · json parse_array · json iarray · string lower · string trim · json iobject · not
string split_mql <str> <index>
Description
Split MQL source code
Split MQL source code
Parameters
str: The string - String - required
index: The index position - Number - required
str: The string - String - required
index: The index position - Number - required
admin
string split_mql "a b c" 1
mentdb
b
Often used with
string contains · string contains_ignore_case · string count · string ends_with · string equals_ignore_case · string get_variable · string left · string like
string contains · string contains_ignore_case · string count · string ends_with · string equals_ignore_case · string get_variable · string left · string like
string split_sentence <str> <chars>
Description
Split a sentence using every non-alphanumeric character as separator. If several non-alphanumeric characters are found in a row, this function still splits the sentence without putting any non-alphanumeric character in the words.
Split a sentence using every non-alphanumeric character as separator. If several non-alphanumeric characters are found in a row, this function still splits the sentence without putting any non-alphanumeric character in the words.
Parameters
str: The string - String - required
chars: The separator characters - Number - required
str: The string - String - required
chars: The separator characters - Number - required
admin
string split_sentence "Hello, how are you ? Bye." ",?."
mentdb
...
Used in use cases (2 recipes)
String & encoding developer › Parse an API access log line
Text & language processing › Match a customer message to a chatbot intent
String & encoding developer › Parse an API access log line
Text & language processing › Match a customer message to a chatbot intent
Often used with
string regexp_replace · json doc · string contains · string contains_ignore_case · string count · string ends_with · string equals_ignore_case · string get_variable
string regexp_replace · json doc · string contains · string contains_ignore_case · string count · string ends_with · string equals_ignore_case · string get_variable
string starts_with <stringValue> <stringToStart>
Description
Verify if the first character of a string is equal to the first character of another string.
Verify if the first character of a string is equal to the first character of another string.
Parameters
stringValue: The string - String - required
stringToStart: The start string - String - required
stringValue: The string - String - required
stringToStart: The start string - String - required
admin
string starts_with "azertyaze" v
mentdb
0
Used in use cases (13 recipes)
MQL developer › Catalogue of math and physics constants with eval
String & encoding developer › Parse an API access log line
JSON & document store developer › Validate a payload against field rules and answer 422
Async developer › A dispatcher pushes child runs and you follow the whole tree
Scheduler developer › Audit your own jobs and generate their redeploy script
Event developer › Inspect the file watchers of the server
and 7 more in the Use cases
MQL developer › Catalogue of math and physics constants with eval
String & encoding developer › Parse an API access log line
JSON & document store developer › Validate a payload against field rules and answer 422
Async developer › A dispatcher pushes child runs and you follow the whole tree
Scheduler developer › Audit your own jobs and generate their redeploy script
Event developer › Inspect the file watchers of the server
and 7 more in the Use cases
Often used with
not · script create · script delete · atom get · string regexp_extract · string substring · atom get_last · atom size
not · script create · script delete · atom get · string regexp_extract · string substring · atom get_last · atom size
string starts_with_or <stringValue> <stringToStart>
Description
Verify if the first character of a string is equal to the first character of another string.
Verify if the first character of a string is equal to the first character of another string.
Parameters
stringValue: The string - String - required
stringToStart: The start string - String - required
stringValue: The string - String - required
stringToStart: The start string - String - required
admin
string starts_with_or "azertyaze" aeiou
mentdb
1
Often used with
string contains · string contains_ignore_case · string count · string ends_with · string equals_ignore_case · string get_variable · string left · string like
string contains · string contains_ignore_case · string count · string ends_with · string equals_ignore_case · string get_variable · string left · string like
string str_to_hex <str>
Description
Converts the ASCII decimal form of each character to its hexadecimal form.
Converts the ASCII decimal form of each character to its hexadecimal form.
Parameters
str: The string - String - required
str: The string - String - required
admin
string str_to_hex 97
mentdb
3937
Often used with
string ascii · string bin · string char · string char_to_int · string hex · string hex_to_int · string hex_to_str · string int_to_char
string ascii · string bin · string char · string char_to_int · string hex · string hex_to_int · string hex_to_str · string int_to_char
string strcmp <str1> <str2>
Description
Compare two strings and return the difference of their ASCII decimal forms. If it returns 0, the function found no difference; in any other case the strings are different.
Compare two strings and return the difference of their ASCII decimal forms. If it returns 0, the function found no difference; in any other case the strings are different.
Parameters
str1: The string 1 - String - required
str2: The string 2 - String - required
str1: The string 1 - String - required
str2: The string 2 - String - required
admin
string strcmp "AZERTY" "iop"
mentdb
-40
Used in use cases (1 recipe)
String & encoding developer › Match a typed product name to the catalog
String & encoding developer › Match a typed product name to the catalog
Often used with
json load select · string instr · string is_alpha_num · string is_alpha_num_uds · string is_letter · string is_number_char · string left · string levenshtein_distance
json load select · string instr · string is_alpha_num · string is_alpha_num_uds · string is_letter · string is_number_char · string left · string levenshtein_distance
string strpos <str1> <str2>
Description
Returns the index at which the first occurrence of the second string has been found in the first one. It always returns the lowest possible index. Returns -1 if no occurrence is found.
Returns the index at which the first occurrence of the second string has been found in the first one. It always returns the lowest possible index. Returns -1 if no occurrence is found.
Parameters
str1: The string - String - required
str2: The string - String - required
str1: The string - String - required
str2: The string - String - required
admin
string strpos "azerty" "r"
mentdb
3
string strpos <str1> <str2> <fromIndex>
Description
Returns the index at which the first occurrence of the second string has been found in the first one. It always returns the lowest possible index. Returns -1 if no occurrence is found
Returns the index at which the first occurrence of the second string has been found in the first one. It always returns the lowest possible index. Returns -1 if no occurrence is found
Parameters
str1: The string - String - required
str2: The string - String - required
fromIndex: The start index - Number - required
str1: The string - String - required
str2: The string - String - required
fromIndex: The start index - Number - required
admin
string strpos "azerty" "r" 4
mentdb
-1
Used in use cases (1 recipe)
String & encoding developer › Match a typed product name to the catalog
String & encoding developer › Match a typed product name to the catalog
Often used with
json load select · string instr · string is_alpha_num · string is_alpha_num_uds · string is_letter · string is_number_char · string left · string levenshtein_distance
json load select · string instr · string is_alpha_num · string is_alpha_num_uds · string is_letter · string is_number_char · string left · string levenshtein_distance
string sublrchar <str> <numberDeleteChar>
Description
Delete a number of characters at the start and at the end of the string
Delete a number of characters at the start and at the end of the string
Parameters
str: The string - String - required
numberDeleteChar: The number of characters to delete - Number - required
str: The string - String - required
numberDeleteChar: The number of characters to delete - Number - required
admin
string sublrchar "azerty" 1
mentdb
zert
Often used with
atom get · mql · string camel_case · string del_char_before_each_line · string indent · string kebab_case · string length · string mql_to_html
atom get · mql · string camel_case · string del_char_before_each_line · string indent · string kebab_case · string length · string mql_to_html
string substr <str> <index>
Description
Returns the original string starting at the sent index.
Returns the original string starting at the sent index.
Parameters
str: The string - String - required
index: The beginning of the substring - Number - required
str: The string - String - required
index: The beginning of the substring - Number - required
admin
string substr "azertyaze" 3
mentdb
rtyaze
string substr <str> <beginIndex> <endIndex>
Description
Returns the original string, starting at 'beginIndex' and ending at 'endIndex'.
Returns the original string, starting at 'beginIndex' and ending at 'endIndex'.
Parameters
str: The string - String - required
beginIndex: The beginning of the substring - Number - required
endIndex: The end of the substring - Number - required
str: The string - String - required
beginIndex: The beginning of the substring - Number - required
endIndex: The end of the substring - Number - required
admin
string substr "azertyaze" 3 5
mentdb
rt
Used in use cases (19 recipes)
String & encoding developer › Match a typed product name to the catalog
Data validation developer › Test the checks of a form with generated SIRET, VAT numbers, IBAN, emails and phones
CRUD & data API developer › Inspect the table before writing the API
Web application developer › Create the VAPID keys of a web application for browser push notifications
Algorithms in MQL › Stack and queue with atom lists
Control flow › Paginate a REST export with for
and 13 more in the Use cases
String & encoding developer › Match a typed product name to the catalog
Data validation developer › Test the checks of a form with generated SIRET, VAT numbers, IBAN, emails and phones
CRUD & data API developer › Inspect the table before writing the API
Web application developer › Create the VAPID keys of a web application for browser push notifications
Algorithms in MQL › Stack and queue with atom lists
Control flow › Paginate a REST export with for
and 13 more in the Use cases
Often used with
atom get · string length · not · atom size · string instr · and · string regexp_replace · string reverse
atom get · string length · not · atom size · string instr · and · string regexp_replace · string reverse
string substring <str> <index>
Description
Returns the original string starting at the sent index.
Returns the original string starting at the sent index.
Parameters
str: The string - String - required
index: The beginning of the substring - Number - required
str: The string - String - required
index: The beginning of the substring - Number - required
admin
string substring "azertyaze" 3
mentdb
rtyaze
string substring <str> <beginIndex> <endIndex>
Description
Returns the original string, starting at 'beginIndex' and ending at 'endIndex'.
Returns the original string, starting at 'beginIndex' and ending at 'endIndex'.
Parameters
str: The string - String - required
beginIndex: The beginning of the substring - Number - required
endIndex: The end of the substring - Number - required
str: The string - String - required
beginIndex: The beginning of the substring - Number - required
endIndex: The end of the substring - Number - required
admin
string substring "azertyaze" 3 5
mentdb
rt
Used in use cases (45 recipes)
Backend & web service developer › Bulk import endpoint with a line by line report
Date & time developer › Support ticket SLA in business days
String & encoding developer › SQL table and API names from form labels
Data validation developer › French company VAT number and social security key
JSON & document store developer › Validate a payload against field rules and answer 422
Async developer › Push a script to the stack and watch it close
and 39 more in the Use cases
Backend & web service developer › Bulk import endpoint with a line by line report
Date & time developer › Support ticket SLA in business days
String & encoding developer › SQL table and API names from form labels
Data validation developer › French company VAT number and social security key
JSON & document store developer › Validate a payload against field rules and answer 422
Async developer › Push a script to the stack and watch it close
and 39 more in the Use cases
Often used with
script create · script delete · date now · wait · while · and · date dateaddt · sequence add
script create · script delete · date now · wait · while · and · date dateaddt · sequence add
string to_string <str>
Description
Return a valid SQL string value (example: 'i''m a man')
Return a valid SQL string value (example: 'i''m a man')
Parameters
str: The string - String - required
str: The string - String - required
admin
string to_string "az\"erty"
mentdb
'az"erty'
Often used with
atom get · mql · string camel_case · string del_char_before_each_line · string indent · string kebab_case · string length · string mql_to_html
atom get · mql · string camel_case · string del_char_before_each_line · string indent · string kebab_case · string length · string mql_to_html
string encode <str> <sourceEnc> <destinationEnc>
Description
Encode a string to another encoding format
Encode a string to another encoding format
Parameters
str: The string - String - required
sourceEnc: The source encoding format - String - required
destinationEnc: The destination encoding format - String - required
str: The string - String - required
sourceEnc: The source encoding format - String - required
destinationEnc: The destination encoding format - String - required
admin
string encode "az\"erty" "ISO-8859-1" "UTF-8"
mentdb
az"erty
Often used with
string bit_length · string char_length · string decode_b64 · string encode_b64 · string html_escape · string html_unescape · string instr · string json_escape
string bit_length · string char_length · string decode_b64 · string encode_b64 · string html_escape · string html_unescape · string instr · string json_escape
string empty_if_null <str>
Description
Set the string to empty if it is null (ex: str = NULL, empty_if_null(str) -> str = '')
Set the string to empty if it is null (ex: str = NULL, empty_if_null(str) -> str = '')
Parameters
str: The string - String - required
str: The string - String - required
admin
string empty_if_null "a b@mail.com"
mentdb
a b@mail.com
Often used with
string capitalize_words · string csv_value · string first_letter · string first_letter_upper · string instr · string is_blank · string itrim · string lcase
string capitalize_words · string csv_value · string first_letter · string first_letter_upper · string instr · string is_blank · string itrim · string lcase
string null_if_empty <str>
Description
Set the string to null if it is empty (ex: str = '', null_if_empty(str) -> str = NULL)
Set the string to null if it is empty (ex: str = '', null_if_empty(str) -> str = NULL)
Parameters
str: The string - String - required
str: The string - String - required
admin
string null_if_empty "a b@mail.com"
mentdb
a b@mail.com
Often used with
string capitalize_words · string csv_value · string empty_if_null · string first_letter · string first_letter_upper · string instr · string is_blank · string itrim
string capitalize_words · string csv_value · string empty_if_null · string first_letter · string first_letter_upper · string instr · string is_blank · string itrim
string trim <str>
Description
Returns the string without space characters on the left and on the right, and with a single space wherever several spaces are found between non-space characters.
Returns the string without space characters on the left and on the right, and with a single space wherever several spaces are found between non-space characters.
Parameters
str: The string - String - required
str: The string - String - required
admin
string trim " aze rty "
mentdb
aze rty
Used in use cases (49 recipes)
MQL beginner › Check typed quantities: try inside a loop
MQL developer › Catalogue of math and physics constants with eval
Date & time developer › French public holidays and a delivery date in working days
String & encoding developer › Clean a customer line before import
JSON & document store developer › Sort and total a sales array
Execution modes › Activity log of a run and its children
and 43 more in the Use cases
MQL beginner › Check typed quantities: try inside a loop
MQL developer › Catalogue of math and physics constants with eval
Date & time developer › French public holidays and a delivery date in working days
String & encoding developer › Clean a customer line before import
JSON & document store developer › Sort and total a sales array
Execution modes › Activity log of a run and its children
and 43 more in the Use cases
Often used with
string regexp_replace · json parse_array · atom get · json doc · string regexp_extract · atom size · json iarray · string lower
string regexp_replace · json parse_array · atom get · json doc · string regexp_extract · atom size · json iarray · string lower
string txt <data>
Description
Return a valid SQL string value (example: 'i''m a man')
Return a valid SQL string value (example: 'i''m a man')
Parameters
data: The data - String - required
data: The data - String - required
admin
string txt "az'erty"
mentdb
'az\'erty'
Often used with
atom get · mql · string camel_case · string del_char_before_each_line · string indent · string kebab_case · string length · string mql_to_html
atom get · mql · string camel_case · string del_char_before_each_line · string indent · string kebab_case · string length · string mql_to_html
string txt2 <data>
Description
Return a valid SQL string value (example: 'i''m a man')
Return a valid SQL string value (example: 'i''m a man')
Parameters
data: The data - String - required
data: The data - String - required
admin
string txt2 "az'erty"
mentdb
'az''erty'
Often used with
atom get · mql · string camel_case · string del_char_before_each_line · string indent · string kebab_case · string length · string mql_to_html
atom get · mql · string camel_case · string del_char_before_each_line · string indent · string kebab_case · string length · string mql_to_html
string ucase <str>
Description
Converts all the characters of the string to upper case using the rules of the default locale
Converts all the characters of the string to upper case using the rules of the default locale
Parameters
str: The string - String - required
str: The string - String - required
admin
string ucase "azerty"
mentdb
AZERTY
Often used with
string capitalize_words · string csv_value · string empty_if_null · string first_letter · string first_letter_upper · string instr · string is_blank · string itrim
string capitalize_words · string csv_value · string empty_if_null · string first_letter · string first_letter_upper · string instr · string is_blank · string itrim
string unhex <hex>
Description
Convert a hexadecimal number to a long int (bigint).
Convert a hexadecimal number to a long int (bigint).
Parameters
hex: The hex number - String - required
hex: The hex number - String - required
admin
string unhex 97
mentdb
151
Often used with
string ascii · string bin · string char · string char_to_int · string hex · string hex_to_int · string hex_to_str · string int_to_char
string ascii · string bin · string char · string char_to_int · string hex · string hex_to_int · string hex_to_str · string int_to_char
string upper <str>
Description
Converts all the characters of the string to upper case using the rules of the default locale
Converts all the characters of the string to upper case using the rules of the default locale
Parameters
str: The string - String - required
str: The string - String - required
admin
string upper "azerty"
mentdb
AZERTY
Used in use cases (12 recipes)
MQL beginner › Split a bill: functions inside functions
Date & time developer › GDPR retention: keep, anonymise or delete customers
String & encoding developer › Clean a customer line before import
Data validation developer › French company VAT number and social security key
Execution modes › sub_include: build include requests with current values
Web service developer › Publish the four methods and document their URLs
and 6 more in the Use cases
MQL beginner › Split a bill: functions inside functions
Date & time developer › GDPR retention: keep, anonymise or delete customers
String & encoding developer › Clean a customer line before import
Data validation developer › French company VAT number and social security key
Execution modes › sub_include: build include requests with current values
Web service developer › Publish the four methods and document their URLs
and 6 more in the Use cases
Often used with
string lpad · string regexp_replace · string trim · script create · script delete · string left · string right · string unaccent
string lpad · string regexp_replace · string trim · script create · script delete · string left · string right · string unaccent
string zero <str>
Description
Return 0 if 'str' is an empty string, otherwise return the string
Return 0 if 'str' is an empty string, otherwise return the string
Parameters
str: The string - String - required
str: The string - String - required
admin
string zero "az'erty"
mentdb
az'erty
Often used with
string capitalize_words · string csv_value · string empty_if_null · string first_letter · string first_letter_upper · string instr · string is_blank · string itrim
string capitalize_words · string csv_value · string empty_if_null · string first_letter · string first_letter_upper · string instr · string is_blank · string itrim
string uuid
Description
Generate a random UUID (v4).
Generate a random UUID (v4).
admin
string uuid
mentdb
3f2b8c1e-6a0d-4e5b-9c7a-1d2e3f4a5b6c
Used in use cases (3 recipes)
String & encoding developer › Encrypt, decrypt and sign a secret
Web service developer › API key and limits in server parameters
Web & API developer › Build and validate a JSON API response
String & encoding developer › Encrypt, decrypt and sign a secret
Web service developer › API key and limits in server parameters
Web & API developer › Build and validate a JSON API response
Often used with
type is_uuid · exception · execute · json doc · json iarray · json iobject · not · parameter add
type is_uuid · exception · execute · json doc · json iarray · json iobject · not · parameter add
string unaccent <str>
Description
Remove the accents (é => e, ç => c, œ => oe).
Remove the accents (é => e, ç => c, œ => oe).
Parameters
str: The string - String - required
str: The string - String - required
admin
string unaccent "Été à Saint-Denis"
mentdb
Ete a Saint-Denis
Used in use cases (9 recipes)
String & encoding developer › Clean a customer line before import
Algorithms in MQL › Palindromes and anagrams
Data quality analyst › Near-duplicate customer names
HR & payroll › Logins, emails and trial period end of new hires
Text & language processing › One label in every case convention
String & encoding developer › SQL table and API names from form labels
and 3 more in the Use cases
String & encoding developer › Clean a customer line before import
Algorithms in MQL › Palindromes and anagrams
Data quality analyst › Near-duplicate customer names
HR & payroll › Logins, emails and trial period end of new hires
Text & language processing › One label in every case convention
String & encoding developer › SQL table and API names from form labels
and 3 more in the Use cases
Often used with
string lower · string regexp_replace · json doc · atom get · string length · string trim · string upper · atom size
string lower · string regexp_replace · json doc · atom get · string length · string trim · string upper · atom size
string slugify <str>
Description
Generate a slug for an URL or a file name.
Generate a slug for an URL or a file name.
Parameters
str: The string - String - required
str: The string - String - required
admin
string slugify "Été à Saint-Denis !"
mentdb
ete-a-saint-denis
Used in use cases (3 recipes)
MQL developer › Breadcrumb links from a page path
String & encoding developer › Clean a customer line before import
Text & language processing › One label in every case convention
MQL developer › Breadcrumb links from a page path
String & encoding developer › Clean a customer line before import
Text & language processing › One label in every case convention
Often used with
string capitalize_words · string lower · string unaccent · string upper · atom before_exclud · atom before_includ · atom get · atom get_last
string capitalize_words · string lower · string unaccent · string upper · atom before_exclud · atom before_includ · atom get · atom get_last
string url_encode <str>
Description
Encode a string for an URL (UTF-8).
Encode a string for an URL (UTF-8).
Parameters
str: The string - String - required
str: The string - String - required
admin
string url_encode "a b&c=é"
mentdb
a%20b%26c%3D%C3%A9
Used in use cases (5 recipes)
String & encoding developer › Encode a payment callback and check it
Web service developer › Call the resource from another server
Web application developer › A JSON endpoint for the page
Web & API developer › Encode an HTTP request: Basic auth, query string, safe HTML
Web & API developer › Pagination with a Link header and an ETag
String & encoding developer › Encode a payment callback and check it
Web service developer › Call the resource from another server
Web application developer › A JSON endpoint for the page
Web & API developer › Encode an HTTP request: Basic auth, query string, safe HTML
Web & API developer › Pagination with a Link header and an ETag
Often used with
string encode_b64 · string html_escape · string json_escape · string url_decode · type is_url · exception · execute · json doc
string encode_b64 · string html_escape · string json_escape · string url_decode · type is_url · exception · execute · json doc
string url_decode <str>
Description
Decode an URL encoded string (UTF-8).
Decode an URL encoded string (UTF-8).
Parameters
str: The string - String - required
str: The string - String - required
admin
string url_decode "a%20b%26c%3D%C3%A9"
mentdb
a b&c=é
Used in use cases (3 recipes)
String & encoding developer › Encode a payment callback and check it
Web & API developer › Encode an HTTP request: Basic auth, query string, safe HTML
Web & API developer › Parse a Cookie header and a form body
String & encoding developer › Encode a payment callback and check it
Web & API developer › Encode an HTTP request: Basic auth, query string, safe HTML
Web & API developer › Parse a Cookie header and a form body
Often used with
string html_escape · string encode_b64 · string html_unescape · string mid · string url_encode · atom get · json doc · json iobject
string html_escape · string encode_b64 · string html_unescape · string mid · string url_encode · atom get · json doc · json iobject
string html_escape <str>
Description
Escape the HTML special characters (& < > " ').
Escape the HTML special characters (& < > " ').
Parameters
str: The string - String - required
str: The string - String - required
admin
string html_escape "<b>Tom & Jerry</b>"
mentdb
<b>Tom & Jerry</b>
Used in use cases (8 recipes)
MQL developer › Breadcrumb links from a page path
String & encoding developer › Encode a payment callback and check it
Web application developer › A page script that returns safe HTML
Screen & UI developer (sajax) › Clickable table rows and a Reload button
Web & API developer › Encode an HTTP request: Basic auth, query string, safe HTML
String & encoding developer › Mail merge: fill a template from JSON data
and 2 more in the Use cases
MQL developer › Breadcrumb links from a page path
String & encoding developer › Encode a payment callback and check it
Web application developer › A page script that returns safe HTML
Screen & UI developer (sajax) › Clickable table rows and a Reload button
Web & API developer › Encode an HTTP request: Basic auth, query string, safe HTML
String & encoding developer › Mail merge: fill a template from JSON data
and 2 more in the Use cases
Often used with
string encode_b64 · include · script create · string decode_b64 · string url_decode · atom get · concat_var · execute
string encode_b64 · include · script create · string decode_b64 · string url_decode · atom get · concat_var · execute
string html_unescape <str>
Description
Decode the HTML entities (basic and numeric).
Decode the HTML entities (basic and numeric).
Parameters
str: The string - String - required
str: The string - String - required
admin
string html_unescape "<b>café</b>"
mentdb
<b>café</b>
Used in use cases (2 recipes)
String & encoding developer › Encode a payment callback and check it
Web & API developer › Parse a Cookie header and a form body
String & encoding developer › Encode a payment callback and check it
Web & API developer › Parse a Cookie header and a form body
Often used with
string html_escape · string mid · string url_decode · atom get · json doc · json iobject · json parse_array · string bit_length
string html_escape · string mid · string url_decode · atom get · json doc · json iobject · json parse_array · string bit_length
string json_escape <str>
Description
Escape a string to put it in a JSON value (without the surrounding quotes).
Escape a string to put it in a JSON value (without the surrounding quotes).
Parameters
str: The string - String - required
str: The string - String - required
admin
string json_escape (concat "He said \"hi\"" [_n_])
mentdb
He said \"hi\"\n
Used in use cases (10 recipes)
MQL developer › Run user formulas safely: eval, try and error codes
Backend & web service developer › Bulk import endpoint with a line by line report
String & encoding developer › Encode a payment callback and check it
Data validation developer › Validate an API payload against its contract
JSON & document store developer › Invoice numbers from a sequence
Script developer › Read a script back to build a form
and 4 more in the Use cases
MQL developer › Run user formulas safely: eval, try and error codes
Backend & web service developer › Bulk import endpoint with a line by line report
String & encoding developer › Encode a payment callback and check it
Data validation developer › Validate an API payload against its contract
JSON & document store developer › Invoice numbers from a sequence
Script developer › Read a script back to build a form
and 4 more in the Use cases
Often used with
json doc · json iarray · not · string regexp_extract · atom get · atom size · script create · string contains
json doc · json iarray · not · string regexp_extract · atom get · atom size · script create · string contains
string sha_512 <str>
Description
Get the SHA-512 hash in hexadecimal.
Get the SHA-512 hash in hexadecimal.
Parameters
str: The string - String - required
str: The string - String - required
admin
string sha_512 "abc"
mentdb
ddaf35a193617aba...a54ca49f
Used in use cases (2 recipes)
JSON & document store developer › Feature flags stored in a node
Security engineer › Signed licence key checked offline
JSON & document store developer › Feature flags stored in a node
Security engineer › Signed licence key checked offline
Often used with
string left · string replace · atom get · date add · date is_after · node count · node create · node darray
string left · string replace · atom get · date add · date is_after · node count · node create · node darray
string capitalize_words <str>
Description
Capitalize the first letter of each word.
Capitalize the first letter of each word.
Parameters
str: The string - String - required
str: The string - String - required
admin
string capitalize_words "jean-paul DUPONT"
mentdb
Jean-Paul Dupont
Used in use cases (7 recipes)
MQL beginner › Your first script with typed parameters
Backend & web service developer › Bulk import endpoint with a line by line report
String & encoding developer › Clean a customer line before import
Excel reporting analyst › Clean a contact list: trim, validate emails, flag duplicates
Files & archives manager › Mainframe fixed-width file to CSV with implied decimals
Text & language processing › One label in every case convention
and 1 more in the Use cases
MQL beginner › Your first script with typed parameters
Backend & web service developer › Bulk import endpoint with a line by line report
String & encoding developer › Clean a customer line before import
Excel reporting analyst › Clean a contact list: trim, validate emails, flag duplicates
Files & archives manager › Mainframe fixed-width file to CSV with implied decimals
Text & language processing › One label in every case convention
and 1 more in the Use cases
Often used with
string lower · execute · json doc · not · script create · script delete · string trim · date format
string lower · execute · json doc · not · script create · script delete · string trim · date format
string camel_case <str>
Description
Convert to camelCase.
Convert to camelCase.
Parameters
str: The string - String - required
str: The string - String - required
admin
string camel_case "Date de naissance"
mentdb
dateDeNaissance
Used in use cases (2 recipes)
String & encoding developer › SQL table and API names from form labels
Text & language processing › One label in every case convention
String & encoding developer › SQL table and API names from form labels
Text & language processing › One label in every case convention
Often used with
string kebab_case · string snake_case · string unaccent · atom get · mql · string capitalize_words · string del_char_before_each_line · string indent
string kebab_case · string snake_case · string unaccent · atom get · mql · string capitalize_words · string del_char_before_each_line · string indent
string snake_case <str>
Description
Convert to snake_case.
Convert to snake_case.
Parameters
str: The string - String - required
str: The string - String - required
admin
string snake_case "dateDeNaissance"
mentdb
date_de_naissance
Used in use cases (2 recipes)
String & encoding developer › SQL table and API names from form labels
Text & language processing › One label in every case convention
String & encoding developer › SQL table and API names from form labels
Text & language processing › One label in every case convention
Often used with
string camel_case · string kebab_case · string unaccent · atom get · mql · string capitalize_words · string del_char_before_each_line · string indent
string camel_case · string kebab_case · string unaccent · atom get · mql · string capitalize_words · string del_char_before_each_line · string indent
string kebab_case <str>
Description
Convert to kebab-case.
Convert to kebab-case.
Parameters
str: The string - String - required
str: The string - String - required
admin
string kebab_case "dateDeNaissance"
mentdb
date-de-naissance
Used in use cases (2 recipes)
String & encoding developer › SQL table and API names from form labels
Text & language processing › One label in every case convention
String & encoding developer › SQL table and API names from form labels
Text & language processing › One label in every case convention
Often used with
string camel_case · string snake_case · string unaccent · atom get · mql · string capitalize_words · string del_char_before_each_line · string indent
string camel_case · string snake_case · string unaccent · atom get · mql · string capitalize_words · string del_char_before_each_line · string indent
string is_blank <str>
Description
Check if a string is null, empty or only white spaces.
Check if a string is null, empty or only white spaces.
Parameters
str: The string - String - required
str: The string - String - required
admin
string is_blank " "
mentdb
1
Used in use cases (4 recipes)
String & encoding developer › Clean a customer line before import
Debugging & error handling › Defensive checks before calling: exists, defaults, types
The MQL language in depth › Null, empty and blank fields of an API payload
Integrator & ETL developer › Turn a partner CSV text into JSON objects
String & encoding developer › Clean a customer line before import
Debugging & error handling › Defensive checks before calling: exists, defaults, types
The MQL language in depth › Null, empty and blank fields of an API payload
Integrator & ETL developer › Turn a partner CSV text into JSON objects
Often used with
not · atom get · atom size · env exist var · execute · is empty · is null · is null or empty
not · atom get · atom size · env exist var · execute · is empty · is null · is null or empty
string regexp_count <str> <pat>
Description
Count the matches of a regex.
Count the matches of a regex.
Parameters
str: The string - String - required
pat: The regex - String - required
str: The string - String - required
pat: The regex - String - required
admin
string regexp_count "a1b22c333" "[0-9]+"
mentdb
3
Used in use cases (39 recipes)
String & encoding developer › Parse an API access log line
Data validation developer › Password policy with an entropy estimate
Execution modes › Errors propagate through nested executes
Scheduler developer › Prove a job ran with the log table
Event developer › Route the dropped files by type and content
Configuration & connections › Export a query in every format and stream big results by blocks
and 33 more in the Use cases
String & encoding developer › Parse an API access log line
Data validation developer › Password policy with an entropy estimate
Execution modes › Errors propagate through nested executes
Scheduler developer › Prove a job ran with the log table
Event developer › Route the dropped files by type and content
Configuration & connections › Export a query in every format and stream big results by blocks
and 33 more in the Use cases
Often used with
string regexp_extract · script delete · file delete · script create · string length · string regexp_replace · concat_var · execute
string regexp_extract · script delete · file delete · script create · string length · string regexp_replace · concat_var · execute
string hmac_sha256 <str> <key>
Description
Get the HMAC SHA-256 signature in hexadecimal (ex: webhook).
Get the HMAC SHA-256 signature in hexadecimal (ex: webhook).
Parameters
str: The string - String - required
key: The secret key - String - required
str: The string - String - required
key: The secret key - String - required
admin
string hmac_sha256 "message" "secret"
mentdb
8b5f48702995c159...
Used in use cases (3 recipes)
Backend & web service developer › Signed webhook receiver with replay protection
Data validation developer › Validate a webhook payload
Security engineer › Verify a webhook HMAC signature
Backend & web service developer › Signed webhook receiver with replay protection
Data validation developer › Validate a webhook payload
Security engineer › Verify a webhook HMAC signature
Often used with
string equals_ignore_case · string replace · type is_json · date now · exception · execute · log write · node create
string equals_ignore_case · string replace · type is_json · date now · exception · execute · log write · node create
string truncate <str> <max>
Description
Cut a string to a max length and add '...' if it was cut.
Cut a string to a max length and add '...' if it was cut.
Parameters
str: The string - String - required
max: The max length - Number - required
str: The string - String - required
max: The max length - Number - required
admin
string truncate "Hello world" 8
mentdb
Hello...
Used in use cases (3 recipes)
MQL developer › Breadcrumb links from a page path
String & encoding developer › SQL table and API names from form labels
Data validation developer › Password policy with an entropy estimate
MQL developer › Breadcrumb links from a page path
String & encoding developer › SQL table and API names from form labels
Data validation developer › Password policy with an entropy estimate
Often used with
atom get · atom size · is empty · string length · string rpad · string substring · atom before_exclud · atom before_includ
atom get · atom size · is empty · string length · string rpad · string substring · atom before_exclud · atom before_includ
string contains <str> <find>
Description
Check if a string contains another (case sensitive).
Check if a string contains another (case sensitive).
Parameters
str: The string - String - required
find: The string to find - String - required
str: The string - String - required
find: The string to find - String - required
admin
string contains "MentDB server" "DB"
mentdb
1
Used in use cases (42 recipes)
MQL developer › Run user formulas safely: eval, try and error codes
String & encoding developer › Parse an API access log line
JSON & document store developer › Invoice numbers from a sequence
Web service developer › POST: create an order with validation
Event developer › Route the dropped files by type and content
Configuration & connections › Session variables: counters, accumulators and cleanup
and 36 more in the Use cases
MQL developer › Run user formulas safely: eval, try and error codes
String & encoding developer › Parse an API access log line
JSON & document store developer › Invoice numbers from a sequence
Web service developer › POST: create an order with validation
Event developer › Route the dropped files by type and content
Configuration & connections › Session variables: counters, accumulators and cleanup
and 36 more in the Use cases
Often used with
execute · string regexp_replace · cm get · not · file delete · cm remove · json doc · json parse_array
execute · string regexp_replace · cm get · not · file delete · cm remove · json doc · json parse_array
string contains_ignore_case <str> <find>
Description
Check if a string contains another (case insensitive).
Check if a string contains another (case insensitive).
Parameters
str: The string - String - required
find: The string to find - String - required
str: The string - String - required
find: The string to find - String - required
admin
string contains_ignore_case "MentDB server" "db"
mentdb
1
Used in use cases (5 recipes)
String & encoding developer › Parse an API access log line
Data validation developer › Password policy with an entropy estimate
API & database integrator › Read supplier invoices from an Office 365 mailbox
Text & language processing › Word, sentence and keyword statistics of a review
API & database integrator › IMAP: supplier confirmations only, as JSON, moved to a folder
String & encoding developer › Parse an API access log line
Data validation developer › Password policy with an entropy estimate
API & database integrator › Read supplier invoices from an Office 365 mailbox
Text & language processing › Word, sentence and keyword statistics of a review
API & database integrator › IMAP: supplier confirmations only, as JSON, moved to a folder
Often used with
string ends_with · string regexp_count · cm get · execute · json parse_array · mql · parameter get value · string left
string ends_with · string regexp_count · cm get · execute · json parse_array · mql · parameter get value · string left
string equals_ignore_case <str1> <str2>
Description
Compare two strings (case insensitive).
Compare two strings (case insensitive).
Parameters
str1: The string 1 - String - required
str2: The string 2 - String - required
str1: The string 1 - String - required
str2: The string 2 - String - required
admin
string equals_ignore_case "MentDB" "mentdb"
mentdb
1
Used in use cases (5 recipes)
String & encoding developer › Parse an API access log line
Data validation developer › Validate a webhook payload
System administrator & DevOps › Server inventory and security checks
Security engineer › Verify a webhook HMAC signature
String & encoding developer › Encrypt, decrypt and sign a secret
String & encoding developer › Parse an API access log line
Data validation developer › Validate a webhook payload
System administrator & DevOps › Server inventory and security checks
Security engineer › Verify a webhook HMAC signature
String & encoding developer › Encrypt, decrypt and sign a secret
Often used with
string contains · string hmac_sha256 · string replace · ai firstname · ai lastname · config cert · function count · json doc
string contains · string hmac_sha256 · string replace · ai firstname · ai lastname · config cert · function count · json doc
string regexp_replace <str> <pat> <replacement>
Description
Replace all matches of a regex ($1, $2 ... for the groups).
Replace all matches of a regex ($1, $2 ... for the groups).
Parameters
str: The string - String - required
pat: The regex - String - required
replacement: The replacement - String - required
str: The string - String - required
pat: The regex - String - required
replacement: The replacement - String - required
admin
string regexp_replace "2026-10-30" "([0-9]+)-([0-9]+)-([0-9]+)" "$3/$2/$1"
mentdb
30/10/2026
Used in use cases (90 recipes)
String & encoding developer › Parse an API access log line
Data validation developer › French company VAT number and social security key
JSON & document store developer › Merge the pages of a paginated API without duplicates
Script developer › Stack and delay options of a batch script
Execution modes › execute runs in a new environment
Web service developer › GET: one order, 404, or the list
and 84 more in the Use cases
String & encoding developer › Parse an API access log line
Data validation developer › French company VAT number and social security key
JSON & document store developer › Merge the pages of a paginated API without duplicates
Script developer › Stack and delay options of a batch script
Execution modes › execute runs in a new environment
Web service developer › GET: one order, 404, or the list
and 84 more in the Use cases
Often used with
json doc · json iarray · script delete · execute · json parse_array · script create · string regexp_extract · string trim
json doc · json iarray · script delete · execute · json parse_array · script create · string regexp_extract · string trim
string regexp_extract <str> <pat> <group>
Description
Extract the first match of a regex (group 0 = the whole match, empty if not found).
Extract the first match of a regex (group 0 = the whole match, empty if not found).
Parameters
str: The string - String - required
pat: The regex - String - required
group: The group number - Number - required
str: The string - String - required
pat: The regex - String - required
group: The group number - Number - required
admin
string regexp_extract "Order n°A-1234 sent" "([A-Z])-([0-9]+)" 2
mentdb
1234
Used in use cases (112 recipes)
MQL beginner › Your first try and exception: a bank withdrawal
MQL developer › Catalogue of math and physics constants with eval
Backend & web service developer › Read server parameters and trace a run in the logs
String & encoding developer › Parse an API access log line
Script developer › A script with typed parameters rejects bad calls
Execution modes › call shares the caller's variables
and 106 more in the Use cases
MQL beginner › Your first try and exception: a bank withdrawal
MQL developer › Catalogue of math and physics constants with eval
Backend & web service developer › Read server parameters and trace a run in the logs
String & encoding developer › Parse an API access log line
Script developer › A script with typed parameters rejects bad calls
Execution modes › call shares the caller's variables
and 106 more in the Use cases
Often used with
script delete · script create · try · execute · exception · string regexp_replace · atom get · json doc
script delete · script create · try · execute · exception · string regexp_replace · atom get · json doc
type is_matches_regex <str> <pat>
Description
Compare two strings to see if they are identical. With '.*' the function tries to autocomplete a word to see if a match occurs (ex: is_matches_regex(azerty, .*er.*): here .*er.* matches azerty); in this case it still returns true if the strings match after autocompletion.
Compare two strings to see if they are identical. With '.*' the function tries to autocomplete a word to see if a match occurs (ex: is_matches_regex(azerty, .*er.*): here .*er.* matches azerty); in this case it still returns true if the strings match after autocompletion.
Parameters
str: The string - String - required
pat: The pattern - String - required
str: The string - String - required
pat: The pattern - String - required
admin
type is_matches_regex "azerty" ".*ze.*"
mentdb
1
Used in use cases (9 recipes)
Backend & web service developer › Signed webhook receiver with replay protection
String & encoding developer › Parse an API access log line
Data validation developer › Validate an IoT device registration
CRUD & data API developer › Data quality check on the table
Machine learning engineer › Audit a database column with a custom rule
Logistics & supply chain › SSCC numbers of pallet labels
and 3 more in the Use cases
Backend & web service developer › Signed webhook receiver with replay protection
String & encoding developer › Parse an API access log line
Data validation developer › Validate an IoT device registration
CRUD & data API developer › Data quality check on the table
Machine learning engineer › Audit a database column with a custom rule
Logistics & supply chain › SSCC numbers of pallet labels
and 3 more in the Use cases
Often used with
and · not · string regexp_extract · string replace · atom get · atom size · dq algorithm exist · dq algorithm get
and · not · string regexp_extract · string replace · atom get · atom size · dq algorithm exist · dq algorithm get
string jaro_winkler <string1> <string2>
Description
Jaro-Winkler similarity of two strings (0 to 1, 1 = identical), good for names and short codes
Jaro-Winkler similarity of two strings (0 to 1, 1 = identical), good for names and short codes
Parameters
string1: The first string - String - required
string2: The second string - String - required
string1: The first string - String - required
string2: The second string - String - required
admin
string jaro_winkler "MARTHA" "MARHTA"
mentdb
0.9611111111111111
string jaro_winkler <string1> <string2> <ignore_case>
Description
Jaro-Winkler similarity ignoring the case and the accents (1) or not (0)
Jaro-Winkler similarity ignoring the case and the accents (1) or not (0)
Parameters
string1: The first string - String - required
string2: The second string - String - required
ignore_case: 1 or 0 - Number - required
string1: The first string - String - required
string2: The second string - String - required
ignore_case: 1 or 0 - Number - required
admin
string jaro_winkler "Hélène Dupont" "HELENE DUPONT" 1
mentdb
1
string soundex <string>
Description
American Soundex phonetic code (4 characters)
American Soundex phonetic code (4 characters)
Parameters
string: The string - String - required
string: The string - String - required
admin
string soundex "Robert"
mentdb
R163
Same code
admin
string soundex "Rupert"
mentdb
R163
string phonetic_fr <string>
Description
French phonetic key (inspired by Phonex): words that sound the same in French get the same key (e, é, è, ai and ei are merged)
French phonetic key (inspired by Phonex): words that sound the same in French get the same key (e, é, è, ai and ei are merged)
Parameters
string: The string - String - required
string: The string - String - required
admin
string phonetic_fr "Philippe Lefèvre"
mentdb
FILI LEFEFR
Same key
admin
string phonetic_fr "Filipe Lefebvre"
mentdb
FILI LEFEFR
string normalize <string> <form>
Description
Unicode normalization: nfc (composed), nfd (decomposed), nfkc, nfkd (compatibility: ligatures, exponents...)
Unicode normalization: nfc (composed), nfd (decomposed), nfkc, nfkd (compatibility: ligatures, exponents...)
Parameters
string: The string - String - required
form: nfc, nfd, nfkc or nfkd - String - required
string: The string - String - required
form: nfc, nfd, nfkc or nfkd - String - required
admin
string normalize "final ½ m²" "nfkc"
mentdb
final 1⁄2 m2
string ngrams <string> <n> <type>
Description
Character n-grams (with a space at the ends) or word n-grams
Character n-grams (with a space at the ends) or word n-grams
Parameters
string: The string - String - required
n: The size - Number - required
type: char or word - String - required
string: The string - String - required
n: The size - Number - required
type: char or word - String - required
admin
string ngrams "data" 2 "char"
mentdb
[" d", "da", "at", "ta", "a "]
admin
string ngrams "the pump is leaking" 2 "word"
mentdb
["the pump", "pump is", "is leaking"]
string mask <string> <keep_start> <keep_end>
Description
Mask a value: keep the first and the last letters or digits, the others become * (the separators are kept)
Mask a value: keep the first and the last letters or digits, the others become * (the separators are kept)
Parameters
string: The value - String - required
keep_start: Characters kept at the start - Number - required
keep_end: Characters kept at the end - Number - required
string: The value - String - required
keep_start: Characters kept at the start - Number - required
keep_end: Characters kept at the end - Number - required
admin
string mask "4970 1012 3456 7890" 0 4
mentdb
**** **** **** 7890
IBAN
admin
string mask "FR76 3000 6000 0112 3456 7890 189" 4 3
mentdb
FR76 **** **** **** **** **** 189
string mask <string> <keep_start> <keep_end> <mask_char>
Description
Mask a value with another character
Mask a value with another character
Parameters
string: The value - String - required
keep_start: Characters kept at the start - Number - required
keep_end: Characters kept at the end - Number - required
mask_char: The mask character - String - required
string: The value - String - required
keep_start: Characters kept at the start - Number - required
keep_end: Characters kept at the end - Number - required
mask_char: The mask character - String - required
admin
string mask "jean.dupont@mail.fr" 2 7 "x"
mentdb
jexx.xxxxxt@mail.fr
string template <template> <json_values>
Description
Fill a template: {{field}}, {{field.sub}} and {{field|default}} are replaced by the values of a JSON object
Fill a template: {{field}}, {{field.sub}} and {{field|default}} are replaced by the values of a JSON object
Parameters
template: The template - String - required
json_values: The values - String - required
template: The template - String - required
json_values: The values - String - required
admin
string template "Dear {{name}}, your order {{order.id}} ships to {{order.city|your address}}." "{\"name\": \"Ann\", \"order\": {\"id\": 1042}}"
mentdb
Dear Ann, your order 1042 ships to your address.
string encode_b32 <string>
Description
Encode a string in base32 (RFC 4648)
Encode a string in base32 (RFC 4648)
Parameters
string: The string - String - required
string: The string - String - required
admin
string encode_b32 "MentDB"
mentdb
JVSW45CEII======
string decode_b32 <base32>
Description
Decode a base32 string
Decode a base32 string
Parameters
base32: The base32 string - String - required
base32: The base32 string - String - required
admin
string decode_b32 "JVSW45CEII======"
mentdb
MentDB
string crc32 <string>
Description
CRC32 checksum (8 hexadecimal characters)
CRC32 checksum (8 hexadecimal characters)
Parameters
string: The string - String - required
string: The string - String - required
admin
string crc32 "The quick brown fox jumps over the lazy dog"
mentdb
414fa339
string sha3 <string> <bits>
Description
SHA-3 hash in hexadecimal (224, 256, 384 or 512 bits)
SHA-3 hash in hexadecimal (224, 256, 384 or 512 bits)
Parameters
string: The string - String - required
bits: 224, 256, 384 or 512 - Number - required
string: The string - String - required
bits: 224, 256, 384 or 512 - Number - required
admin
string sha3 "abc" 256
mentdb
3a985da74fe225b2045c172d6bd390bd855f086e3e9d525b46bfe24511431532
string ulid
Description
Generate a ULID: 26 characters, unique and sortable by creation time
Generate a ULID: 26 characters, unique and sortable by creation time
admin
string ulid
mentdb
01M7SH77D1TJ34Y0P5AK47RBFG
string uuid7
Description
Generate a UUID version 7 (RFC 9562): unique and sortable by creation time, good as a database key
Generate a UUID version 7 (RFC 9562): unique and sortable by creation time, good as a database key
admin
string uuid7
mentdb
01a1f313-9da2-7c8d-8844-b1c916c68b63
string format <pattern> <json_args>
Description
Format values with a pattern (as sprintf): %s text, %d integer, %f decimal (%.2f), %e scientific, %x %X %o %b hexadecimal, octal, binary, %c character, %% percent sign; width (%5d), left alignment (%-10s), zero padding (%05.2f), sign (%+d), custom padding (%'*10s), thousands separator (%,d), argument number (%2$s), %u unsigned (-1 = 18446744073709551615). As PHP: %-05d pads on the right with the padding character (12000), the sign of a value rounded to zero is kept (-0.0), a float in %s is written as PHP (1.0E+20). The arguments are a JSON array
Format values with a pattern (as sprintf): %s text, %d integer, %f decimal (%.2f), %e scientific, %x %X %o %b hexadecimal, octal, binary, %c character, %% percent sign; width (%5d), left alignment (%-10s), zero padding (%05.2f), sign (%+d), custom padding (%'*10s), thousands separator (%,d), argument number (%2$s), %u unsigned (-1 = 18446744073709551615). As PHP: %-05d pads on the right with the padding character (12000), the sign of a value rounded to zero is kept (-0.0), a float in %s is written as PHP (1.0E+20). The arguments are a JSON array
Parameters
pattern: The pattern - String - required
json_args: The arguments (JSON array) - String - required
pattern: The pattern - String - required
json_args: The arguments (JSON array) - String - required
admin
string format "%-10s|%5d|%10.2f" "[\"Widget\", 3, 29.9]"
mentdb
Widget | 3| 29.90
Hexadecimal, zero padding, argument numbers
admin
string format "#%06X, %05.1f %%, %4$s then %3$s" "[255, 7.25, \"first\", \"second\"]"
mentdb
#0000FF, 007.3 %, second then first
string format <pattern> <json_args> <locale>
Description
Format with a locale (decimal and thousands separators of the language): en (default), fr, de...
Format with a locale (decimal and thousands separators of the language): en (default), fr, de...
Parameters
pattern: The pattern - String - required
json_args: The arguments - String - required
locale: The locale, ex: fr, de, en-US - String - required
pattern: The pattern - String - required
json_args: The arguments - String - required
locale: The locale, ex: fr, de, en-US - String - required
admin
string format "%,.2f EUR" "[1234567.891]" "fr"
mentdb
1 234 567,89 EUR
Used in use cases (1 recipe)
String & encoding developer › Format a text report like with PHP: sprintf, number_format, natural sort, wordwrap
String & encoding developer › Format a text report like with PHP: sprintf, number_format, natural sort, wordwrap
string number_format <number>
Description
Format a number with grouped thousands (as PHP number_format: rounded half up, no decimals, separators . and ,)
Format a number with grouped thousands (as PHP number_format: rounded half up, no decimals, separators . and ,)
Parameters
number: The number - Number - required
number: The number - Number - required
admin
string number_format "1234567.891"
mentdb
1,234,568
string number_format <number> <decimals>
Description
Format a number with a number of decimals (a negative number rounds to the tens, hundreds...)
Format a number with a number of decimals (a negative number rounds to the tens, hundreds...)
Parameters
number: The number - Number - required
decimals: The number of decimals - Number - required
number: The number - Number - required
decimals: The number of decimals - Number - required
admin
string number_format "1234.5" 2
mentdb
1,234.50
Rounded to the thousands
admin
string number_format "1234567" -3
mentdb
1,235,000
string number_format <number> <decimals> <dec_point> <thousands_sep>
Description
Format a number with the decimals, the decimal point and the thousands separator
Format a number with the decimals, the decimal point and the thousands separator
Parameters
number: The number - Number - required
decimals: The number of decimals - Number - required
dec_point: The decimal point - String - required
thousands_sep: The thousands separator - String - required
number: The number - Number - required
decimals: The number of decimals - Number - required
dec_point: The decimal point - String - required
thousands_sep: The thousands separator - String - required
admin
string number_format "1234567.891" 2 "," " "
mentdb
1 234 567,89
Exact for large numbers
admin
string number_format "123456789012345678901234567890.125" 2 "." ","
mentdb
123,456,789,012,345,678,901,234,567,890.13
Used in use cases (1 recipe)
String & encoding developer › Format a text report like with PHP: sprintf, number_format, natural sort, wordwrap
String & encoding developer › Format a text report like with PHP: sprintf, number_format, natural sort, wordwrap
string wordwrap <text> <width>
Description
Wrap a text at a width (as PHP wordwrap): the lines are broken at the spaces, the existing line breaks are kept, a long word stays whole
Wrap a text at a width (as PHP wordwrap): the lines are broken at the spaces, the existing line breaks are kept, a long word stays whole
Parameters
text: The text - String - required
width: The maximum width of the lines - Number - required
text: The text - String - required
width: The maximum width of the lines - Number - required
admin
string wordwrap "The quick brown fox sat over the lazy dog" 15
mentdb
The quick brown fox sat over the lazy dog
string wordwrap <text> <width> <json_params>
Description
Wrap a text with parameters: break (the line break string, \n by default), cut (true: the words longer than the width are cut)
Wrap a text with parameters: break (the line break string, \n by default), cut (true: the words longer than the width are cut)
Parameters
text: The text - String - required
width: The width - Number - required
json_params: The parameters - String - required
text: The text - String - required
width: The width - Number - required
json_params: The parameters - String - required
admin
string wordwrap "The quick brown fox sat over the lazy dog" 15 "{\"break\": \"<br />\"}"
mentdb
The quick brown<br />fox sat over<br />the lazy dog
Long words cut
admin
string wordwrap "A very long woooooooooooord." 8 "{\"cut\": true}"
mentdb
A very long wooooooo ooooord.
Used in use cases (1 recipe)
String & encoding developer › Format a text report like with PHP: sprintf, number_format, natural sort, wordwrap
String & encoding developer › Format a text report like with PHP: sprintf, number_format, natural sort, wordwrap
string natural_compare <a> <b>
Description
Compare two strings in natural order (as PHP 8 strnatcmp): the numbers are compared by value (img2 < img10), the leading zeros at the start of the strings skipped (007 = 7), a run starting with 0 inside the text compared as decimals, consecutive spaces skipped, a longer string with trailing spaces after ("a " > "a"). Returns -1, 0 or 1
Compare two strings in natural order (as PHP 8 strnatcmp): the numbers are compared by value (img2 < img10), the leading zeros at the start of the strings skipped (007 = 7), a run starting with 0 inside the text compared as decimals, consecutive spaces skipped, a longer string with trailing spaces after ("a " > "a"). Returns -1, 0 or 1
Parameters
a: The first string - String - required
b: The second string - String - required
a: The first string - String - required
b: The second string - String - required
admin
string natural_compare "img2.png" "img10.png"
mentdb
-1
string natural_compare <a> <b> <case_insensitive>
Description
Natural comparison, case insensitive with 1 (as strnatcasecmp)
Natural comparison, case insensitive with 1 (as strnatcasecmp)
Parameters
a: The first string - String - required
b: The second string - String - required
case_insensitive: 1 to ignore the case - Boolean - required
a: The first string - String - required
b: The second string - String - required
case_insensitive: 1 to ignore the case - Boolean - required
admin
string natural_compare "IMG2" "img10" 1
mentdb
-1
string natural_sort <json_array>
Description
Sort a JSON array in natural order (as natsort; the uppercase letters before the lowercase ones)
Sort a JSON array in natural order (as natsort; the uppercase letters before the lowercase ones)
Parameters
json_array: The values - String - required
json_array: The values - String - required
admin
string natural_sort "[\"img12.png\", \"img10.png\", \"IMG2.png\", \"img1.png\"]"
mentdb
["IMG2.png", "img1.png", "img10.png", "img12.png"]
string natural_sort <json_array> <json_params>
Description
Natural sort with parameters: case_insensitive (as natcasesort), desc
Natural sort with parameters: case_insensitive (as natcasesort), desc
Parameters
json_array: The values - String - required
json_params: The parameters - String - required
json_array: The values - String - required
json_params: The parameters - String - required
admin
string natural_sort "[\"img12.png\", \"img10.png\", \"IMG2.png\", \"img1.png\"]" "{\"case_insensitive\": true}"
mentdb
["img1.png", "IMG2.png", "img10.png", "img12.png"]
Versions, newest first
admin
string natural_sort "[\"v1.9\", \"v1.10\", \"v1.2\", \"v2.0\"]" "{\"desc\": true}"
mentdb
["v2.0", "v1.10", "v1.9", "v1.2"]
Used in use cases (1 recipe)
String & encoding developer › Format a text report like with PHP: sprintf, number_format, natural sort, wordwrap
String & encoding developer › Format a text report like with PHP: sprintf, number_format, natural sort, wordwrap
string similar_text <a> <b>
Description
Similarity of two strings (as PHP similar_text, Oliver 1993): the number of common characters and the percentage
Similarity of two strings (as PHP similar_text, Oliver 1993): the number of common characters and the percentage
Parameters
a: The first string - String - required
b: The second string - String - required
a: The first string - String - required
b: The second string - String - required
admin
string similar_text "World" "Word"
mentdb
{"common": 4, "percent": 88.88888888888889}
admin
string similar_text "Hello World" "Hallo Welt"
mentdb
{"common": 7, "percent": 66.66666666666667}
string word_count <text>
Description
Count the words (letters of any alphabet with apostrophes and hyphens inside, as str_word_count; the digits are not letters)
Count the words (letters of any alphabet with apostrophes and hyphens inside, as str_word_count; the digits are not letters)
Parameters
text: The text - String - required
text: The text - String - required
admin
string word_count "L'été est là, c'est-à-dire maintenant."
mentdb
5
string word_count <text> <json_params>
Description
Words with parameters: format (count, words, positions: the character offset of each word), charlist (extra characters that belong to the words)
Words with parameters: format (count, words, positions: the character offset of each word), charlist (extra characters that belong to the words)
Parameters
text: The text - String - required
json_params: The parameters - String - required
text: The text - String - required
json_params: The parameters - String - required
admin
string word_count "Hello fri3nd, you're looking good today!" "{\"format\": \"words\"}"
mentdb
["Hello", "fri", "nd", "you're", "looking", "good", "today"]
admin
string word_count "Hello fri3nd, you're" "{\"format\": \"positions\"}"
mentdb
{"0": "Hello", "6": "fri", "10": "nd", "14": "you're"}
string strtr <text> <json_map>
Description
Replace several strings in one pass (as the array form of strtr): the longest key first, a replaced part is never replaced again (swap two words safely)
Replace several strings in one pass (as the array form of strtr): the longest key first, a replaced part is never replaced again (swap two words safely)
Parameters
text: The text - String - required
json_map: The replacements: {"from": "to", ...} - String - required
text: The text - String - required
json_map: The replacements: {"from": "to", ...} - String - required
admin
string strtr "Hi all, I said hello" "{\"Hi\": \"Hello\", \"hello\": \"hi\"}"
mentdb
Hello all, I said hi
Swap
admin
string strtr "red and blue" "{\"red\": \"blue\", \"blue\": \"red\"}"
mentdb
blue and red
string query_parse <query>
Description
Parse a URL query string into a JSON object (as parse_str): a[]=1 gives an array, b[x][y]=2 nested objects, + and %XX decoded; the values stay strings; a name empty before [ is dropped ([x]=1), integer keys up to 19 digits
Parse a URL query string into a JSON object (as parse_str): a[]=1 gives an array, b[x][y]=2 nested objects, + and %XX decoded; the values stay strings; a name empty before [ is dropped ([x]=1), integer keys up to 19 digits
Parameters
query: The query string - String - required
query: The query string - String - required
admin
string query_parse "q=caf%C3%A9+cr%C3%A8me&page=2&tags[]=a&tags[]=b&f[min]=10&f[max]=20"
mentdb
{"q": "café crème", "page": "2", "tags": ["a", "b"], "f": {"min": "10", "max": "20"}}
string query_build <json>
Description
Build a URL query string from a JSON object (as http_build_query): nested keys a[b]=, arrays a[0]= (PHP default), null skipped, true = 1; spaces encoded %20 (RFC 3986)
Build a URL query string from a JSON object (as http_build_query): nested keys a[b]=, arrays a[0]= (PHP default), null skipped, true = 1; spaces encoded %20 (RFC 3986)
Parameters
json: The data - String - required
json: The data - String - required
admin
string query_build "{\"q\": \"café crème\", \"page\": 2, \"tags\": [\"a\", \"b\"], \"f\": {\"vip\": true, \"x\": null}}"
mentdb
q=caf%C3%A9%20cr%C3%A8me&page=2&tags%5B0%5D=a&tags%5B1%5D=b&f%5Bvip%5D=1
string query_build <json> <json_params>
Description
Build a query string with parameters: encoding (rfc3986 or form: spaces as +, the PHP default), arrays (indexed a[0]=, brackets a[]=, repeat a=1&a=2)
Build a query string with parameters: encoding (rfc3986 or form: spaces as +, the PHP default), arrays (indexed a[0]=, brackets a[]=, repeat a=1&a=2)
Parameters
json: The data - String - required
json_params: The parameters - String - required
json: The data - String - required
json_params: The parameters - String - required
admin
string query_build "{\"q\": \"café crème\", \"tags\": [\"a\", \"b\"]}" "{\"encoding\": \"form\", \"arrays\": \"brackets\"}"
mentdb
q=caf%C3%A9+cr%C3%A8me&tags%5B%5D=a&tags%5B%5D=b
admin
string query_build "{\"id\": [3, 7, 12]}" "{\"arrays\": \"repeat\"}"
mentdb
id=3&id=7&id=12
string qp_encode <text>
Description
Encode a text in quoted-printable (RFC 2045, e-mails): the non-ASCII bytes as =XX, lines of 76 characters at most (soft breaks =)
Encode a text in quoted-printable (RFC 2045, e-mails): the non-ASCII bytes as =XX, lines of 76 characters at most (soft breaks =)
Parameters
text: The text - String - required
text: The text - String - required
admin
string qp_encode "Café = 1€"
mentdb
Caf=C3=A9 =3D 1=E2=82=AC
string qp_encode <text> <charset>
Description
Quoted-printable with a charset (UTF-8 by default)
Quoted-printable with a charset (UTF-8 by default)
Parameters
text: The text - String - required
charset: The charset, ex: ISO-8859-1 - String - required
text: The text - String - required
charset: The charset, ex: ISO-8859-1 - String - required
admin
string qp_encode "Café" "ISO-8859-1"
mentdb
Caf=E9
string qp_decode <text>
Description
Decode a quoted-printable text (soft line breaks removed, UTF-8 by default)
Decode a quoted-printable text (soft line breaks removed, UTF-8 by default)
Parameters
text: The text - String - required
text: The text - String - required
admin
string qp_decode "Caf=C3=A9 =3D 1=E2=82=AC"
mentdb
Café = 1€
string qp_decode <text> <charset>
Description
Decode a quoted-printable text with a charset
Decode a quoted-printable text with a charset
Parameters
text: The text - String - required
charset: The charset - String - required
text: The text - String - required
charset: The charset - String - required
admin
string qp_decode "Caf=E9" "ISO-8859-1"
mentdb
Café
string collate_compare <a> <b>
Description
Compare two strings with the rules of a language (French by default: accents and case ordered as in a dictionary). Returns -1, 0 or 1
Compare two strings with the rules of a language (French by default: accents and case ordered as in a dictionary). Returns -1, 0 or 1
Parameters
a: The first string - String - required
b: The second string - String - required
a: The first string - String - required
b: The second string - String - required
admin
string collate_compare "côte" "coté"
mentdb
-1
string collate_compare <a> <b> <locale>
Description
Comparison with a locale
Comparison with a locale
Parameters
a: The first string - String - required
b: The second string - String - required
locale: The locale, ex: fr, de, sv - String - required
a: The first string - String - required
b: The second string - String - required
locale: The locale, ex: fr, de, sv - String - required
admin
string collate_compare "Ö" "Z" "sv"
mentdb
1
string collate_compare <a> <b> <locale> <strength>
Description
Comparison with a locale and a strength: primary (base letters only), secondary (+ accents), tertiary (+ case, default), identical
Comparison with a locale and a strength: primary (base letters only), secondary (+ accents), tertiary (+ case, default), identical
Parameters
a: The first string - String - required
b: The second string - String - required
locale: The locale - String - required
strength: The strength - String - required
a: The first string - String - required
b: The second string - String - required
locale: The locale - String - required
strength: The strength - String - required
admin
string collate_compare "Élan" "elan" "fr" "primary"
mentdb
0
string collate_sort <json_array>
Description
Sort a JSON array with the rules of a language (French by default), unlike the code point order where Z < a < é
Sort a JSON array with the rules of a language (French by default), unlike the code point order where Z < a < é
Parameters
json_array: The values - String - required
json_array: The values - String - required
admin
string collate_sort "[\"zèbre\", \"Zoé\", \"école\", \"Ecole\", \"eau\", \"été\"]"
mentdb
["eau", "Ecole", "école", "été", "zèbre", "Zoé"]
string collate_sort <json_array> <locale>
Description
Sort with a locale
Sort with a locale
Parameters
json_array: The values - String - required
locale: The locale - String - required
json_array: The values - String - required
locale: The locale - String - required
admin
string collate_sort "[\"Ö\", \"z\", \"o\"]" "sv"
mentdb
["o", "z", "Ö"]
string collate_sort <json_array> <locale> <strength>
Description
Sort with a locale and a strength
Sort with a locale and a strength
Parameters
json_array: The values - String - required
locale: The locale - String - required
strength: The strength - String - required
json_array: The values - String - required
locale: The locale - String - required
strength: The strength - String - required
admin
string collate_sort "[\"b\", \"A\", \"a\", \"B\"]" "en" "tertiary"
mentdb
["a", "A", "b", "B"]
string between <text> <start> <end>
Description
The first substring between two delimiters ("" if not found; an empty start means the beginning, an empty end the end)
The first substring between two delimiters ("" if not found; an empty start means the beginning, an empty end the end)
Parameters
text: The text - String - required
start: The start delimiter - String - required
end: The end delimiter - String - required
text: The text - String - required
start: The start delimiter - String - required
end: The end delimiter - String - required
admin
string between "Order <b>123</b> and <b>456</b>" "<b>" "</b>"
mentdb
123
string between <text> <start> <end> <json_params>
Description
Substrings between delimiters with parameters: all (array of all of them), include (keep the delimiters), case_insensitive
Substrings between delimiters with parameters: all (array of all of them), include (keep the delimiters), case_insensitive
Parameters
text: The text - String - required
start: The start delimiter - String - required
end: The end delimiter - String - required
json_params: The parameters - String - required
text: The text - String - required
start: The start delimiter - String - required
end: The end delimiter - String - required
json_params: The parameters - String - required
admin
string between "Order <b>123</b> and <B>456</B>" "<b>" "</b>" "{\"all\": true, \"case_insensitive\": true}"
mentdb
["123", "456"]
admin
string between "Ref [A-12] and [B-7]" "[" "]" "{\"all\": true, \"include\": true}"
mentdb
["[A-12]", "[B-7]"]
string nl2br <text>
Description
Insert
before each line break (\r\n, \n\r, \n, \r), the line breaks are kept
Insert
before each line break (\r\n, \n\r, \n, \r), the line breaks are kept
Parameters
text: The text - String - required
text: The text - String - required
admin
string nl2br "line 1 line 2"
mentdb
line 1<br /> line 2
string nl2br <text> <xhtml>
Description
Insert
(xhtml 0) or
(xhtml 1) before each line break
Insert
(xhtml 0) or
(xhtml 1) before each line break
Parameters
text: The text - String - required
xhtml: 0 for
- Boolean - required
text: The text - String - required
xhtml: 0 for
- Boolean - required
admin
string nl2br "line 1 line 2" 0
mentdb
line 1 line 2
string grapheme_length <text>
Description
Number of user-perceived characters (graphemes): an accent written as a combining mark, an emoji with a skin tone or a family emoji count as one character
Number of user-perceived characters (graphemes): an accent written as a combining mark, an emoji with a skin tone or a family emoji count as one character
Parameters
text: The text - String - required
text: The text - String - required
admin
string grapheme_length "été 👨👩👧 👍🏽"
mentdb
7
string grapheme_substr <text> <start>
Description
Substring in graphemes from a start (negative: from the end)
Substring in graphemes from a start (negative: from the end)
Parameters
text: The text - String - required
start: The start (0 = first) - Number - required
text: The text - String - required
start: The start (0 = first) - Number - required
admin
string grapheme_substr "Noël 🎄" -1
mentdb
🎄
string grapheme_substr <text> <start> <length>
Description
Substring in graphemes with a length (negative: leaves graphemes at the end)
Substring in graphemes with a length (negative: leaves graphemes at the end)
Parameters
text: The text - String - required
start: The start - Number - required
length: The length - Number - required
text: The text - String - required
start: The start - Number - required
length: The length - Number - required
admin
string grapheme_substr "Noël 🎄" 0 4
mentdb
Noël
admin
string grapheme_substr "abcdef" -3 2
mentdb
de
string sscanf <text> <format>
Description
Parse a text with a format (as sscanf): %d %f %s (word) %c %x %o %[a-z] %[^,] with widths (%4d), %*d skipped, a space matches any spaces; the values not read are null
Parse a text with a format (as sscanf): %d %f %s (word) %c %x %o %[a-z] %[^,] with widths (%4d), %*d skipped, a space matches any spaces; the values not read are null
Parameters
text: The text - String - required
format: The format - String - required
text: The text - String - required
format: The format - String - required
admin
string sscanf "age: 25 name: Paul id 0x1F" "age: %d name: %s id %x"
mentdb
[25, "Paul", 31]
Fixed widths
admin
string sscanf "20261103" "%4d%2d%2d"
mentdb
[2026, 11, 3]
Sets
admin
string sscanf "Dupont, Jean; 42" "%[^,], %[^;]; %d"
mentdb
["Dupont", "Jean", 42]
string pad_center <text> <length>
Description
Center a text in a length with spaces (as str_pad STR_PAD_BOTH: the extra character goes to the right)
Center a text in a length with spaces (as str_pad STR_PAD_BOTH: the extra character goes to the right)
Parameters
text: The text - String - required
length: The total length - Number - required
text: The text - String - required
length: The total length - Number - required
admin
string pad_center "Alien" 11
mentdb
Alien
string pad_center <text> <length> <pad>
Description
Center a text with a padding string
Center a text with a padding string
Parameters
text: The text - String - required
length: The total length - Number - required
pad: The padding string - String - required
text: The text - String - required
length: The total length - Number - required
pad: The padding string - String - required
admin
string pad_center "Alien" 11 "-="
mentdb
-=-Alien-=-
admin
string pad_center "TOTAL" 20 "*"
mentdb
*******TOTAL********
string chunk_split <text>
Description
Split a text into chunks of 76 characters, each one followed by \r\n (as chunk_split, ex: base64 for e-mails)
Split a text into chunks of 76 characters, each one followed by \r\n (as chunk_split, ex: base64 for e-mails)
Parameters
text: The text - String - required
text: The text - String - required
admin
string chunk_split "SGVsbG8gV29ybGQ="
mentdb
SGVsbG8gV29ybGQ=
string chunk_split <text> <length>
Description
Split a text into chunks of a length, each one followed by \r\n
Split a text into chunks of a length, each one followed by \r\n
Parameters
text: The text - String - required
length: The length of the chunks - Number - required
text: The text - String - required
length: The length of the chunks - Number - required
admin
string chunk_split "abcdefg" 3
mentdb
abc def g
string chunk_split <text> <length> <end>
Description
Split a text into chunks of a length, each one followed by an end string
Split a text into chunks of a length, each one followed by an end string
Parameters
text: The text - String - required
length: The length - Number - required
end: The end string - String - required
text: The text - String - required
length: The length - Number - required
end: The end string - String - required
admin
string chunk_split "FR7630006000011234567890189" 4 " "
mentdb
FR76 3000 6000 0112 3456 7890 189
string count_chars <text>
Description
Number of occurrences of each character, sorted by character
Number of occurrences of each character, sorted by character
Parameters
text: The text - String - required
text: The text - String - required
admin
string count_chars "hello world"
mentdb
{" ": 1, "d": 1, "e": 1, "h": 1, "l": 3, "o": 2, "r": 1, "w": 1}
string count_chars <text> <mode>
Description
Occurrences (mode chars) or the unique characters sorted (mode unique)
Occurrences (mode chars) or the unique characters sorted (mode unique)
Parameters
text: The text - String - required
mode: chars or unique - String - required
text: The text - String - required
mode: chars or unique - String - required
admin
string count_chars "mississippi" "unique"
mentdb
imps
string metaphone <text>
Description
Metaphone key of an English text (Lawrence Philips, as PHP metaphone; GN and MB at the end of a word, before a space or a punctuation too): two words that sound the same in English have the same key. Letters A-Z only (the accented letters are ignored); for French names use string phonetic_fr
Metaphone key of an English text (Lawrence Philips, as PHP metaphone; GN and MB at the end of a word, before a space or a punctuation too): two words that sound the same in English have the same key. Letters A-Z only (the accented letters are ignored); for French names use string phonetic_fr
Parameters
text: The text - String - required
text: The text - String - required
admin
string metaphone "Knight"
mentdb
NFT
Same key
admin
string metaphone "Smith"
mentdb
SM0
admin
string metaphone "Smyth"
mentdb
SM0
string encrypt_aes <text> <key>
Description
Encrypt a text with AES-256-GCM: the key is 32 bytes in Base64 or hexadecimal (string generate_key_aes), or a passphrase (PBKDF2-HMAC-SHA256, 210 000 iterations, random salt; 1 000 000 at most, decrypt_aes refuses more). The result is different at each call (random nonce)
Encrypt a text with AES-256-GCM: the key is 32 bytes in Base64 or hexadecimal (string generate_key_aes), or a passphrase (PBKDF2-HMAC-SHA256, 210 000 iterations, random salt; 1 000 000 at most, decrypt_aes refuses more). The result is different at each call (random nonce)
Parameters
text: The text - String - required
key: The key or the passphrase - String - required
text: The text - String - required
key: The key or the passphrase - String - required
admin
-> "[key]" (string generate_key_aes); -> "[c]" (string encrypt_aes "IBAN FR76 3000 6000 0112 3456 7890 189" [key]); -> "[res]" (concat (string left [c] 3) " ... " (string decrypt_aes [c] [key])); [res]
mentdb
v1: ... IBAN FR76 3000 6000 0112 3456 7890 189
string encrypt_aes <text> <key> <json_params>
Description
Encrypt with parameters: aad (associated data, authenticated but not encrypted: the same aad is needed to decrypt), key_type (auto, key or passphrase), iterations (PBKDF2)
Encrypt with parameters: aad (associated data, authenticated but not encrypted: the same aad is needed to decrypt), key_type (auto, key or passphrase), iterations (PBKDF2)
Parameters
text: The text - String - required
key: The key or the passphrase - String - required
json_params: The parameters - String - required
text: The text - String - required
key: The key or the passphrase - String - required
json_params: The parameters - String - required
admin
-> "[c]" (string encrypt_aes "4970 1012 3456 7890" "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f" "{\"aad\": \"customer-42\"}"); -> "[res]" (string decrypt_aes [c] "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f" "{\"aad\": \"customer-42\"}"); [res]
mentdb
4970 1012 3456 7890
Used in use cases (1 recipe)
Security engineer › Encrypt a sensitive field with AES-256-GCM and check the signature of a webhook
Security engineer › Encrypt a sensitive field with AES-256-GCM and check the signature of a webhook
Often used with
string decrypt_aes · string generate_key_aes · string hmac · string hmac_verify · string left · string length · string random_bytes · try
string decrypt_aes · string generate_key_aes · string hmac · string hmac_verify · string left · string length · string random_bytes · try
string decrypt_aes <encrypted> <key>
Description
Decrypt a text made by string encrypt_aes (a wrong key or a modified text gives an error)
Decrypt a text made by string encrypt_aes (a wrong key or a modified text gives an error)
Parameters
encrypted: The encrypted text (v1:...) - String - required
key: The key or the passphrase - String - required
encrypted: The encrypted text (v1:...) - String - required
key: The key or the passphrase - String - required
admin
string decrypt_aes "v1:AOB7oq0w+HbVSRiX2NRcKsV9H3awVbfXOkMlkiASwl06nVLyrVpMV/G1pUafKCiyX+AEzQzscQBZj0FvHiA2tOyUBQ==" "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f"
mentdb
IBAN FR76 3000 6000 0112 3456 7890 189
Passphrase
admin
string decrypt_aes "v1:AQADNFDgzcViXicp40IwwF6ZLT2tvHSbMasWb0HVwvXTKakkZo7Yj5XgjhGG7eq3Dh026WtMLREbfGawyIG58D0=" "correct horse battery staple"
mentdb
Meeting at 10:00
string decrypt_aes <encrypted> <key> <json_params>
Description
Decrypt with parameters: aad
Decrypt with parameters: aad
Parameters
encrypted: The encrypted text - String - required
key: The key or the passphrase - String - required
json_params: The parameters - String - required
encrypted: The encrypted text - String - required
key: The key or the passphrase - String - required
json_params: The parameters - String - required
admin
string decrypt_aes "v1:AOfGCpzkrh1gc0OnDDJ+/JEa3IrR5kBi3V+erOQ3zEfrKMkqGUCXQsRwxUuCA+wz" "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f" "{\"aad\": \"customer-42\"}"
mentdb
4970 1012 3456 7890
Used in use cases (1 recipe)
Security engineer › Encrypt a sensitive field with AES-256-GCM and check the signature of a webhook
Security engineer › Encrypt a sensitive field with AES-256-GCM and check the signature of a webhook
Often used with
string encrypt_aes · string generate_key_aes · string hmac · string hmac_verify · string left · string length · string random_bytes · try
string encrypt_aes · string generate_key_aes · string hmac · string hmac_verify · string left · string length · string random_bytes · try
string generate_key_aes
Description
A new random AES-256 key (32 bytes in Base64): keep it out of the scripts (configuration, vault)
A new random AES-256 key (32 bytes in Base64): keep it out of the scripts (configuration, vault)
admin
-> "[k]" (string generate_key_aes); (string length [k])
mentdb
44
Used in use cases (1 recipe)
Security engineer › Encrypt a sensitive field with AES-256-GCM and check the signature of a webhook
Security engineer › Encrypt a sensitive field with AES-256-GCM and check the signature of a webhook
Often used with
string decrypt_aes · string encrypt_aes · string hmac · string hmac_verify · string left · string length · string random_bytes · try
string decrypt_aes · string encrypt_aes · string hmac · string hmac_verify · string left · string length · string random_bytes · try
string hmac <algorithm> <text> <key>
Description
HMAC of a text (PHP hash_hmac): md5, sha1, sha224, sha256, sha384, sha512, sha512/224, sha512/256, sha3-224, sha3-256, sha3-384, sha3-512, in hexadecimal
HMAC of a text (PHP hash_hmac): md5, sha1, sha224, sha256, sha384, sha512, sha512/224, sha512/256, sha3-224, sha3-256, sha3-384, sha3-512, in hexadecimal
Parameters
algorithm: The algorithm - String - required
text: The text - String - required
key: The key - String - required
algorithm: The algorithm - String - required
text: The text - String - required
key: The key - String - required
admin
string hmac "sha256" "The quick brown fox jumps over the lazy dog" "key"
mentdb
f7bc83f430538424b13298e6aa6fb143ef4d59a14946175997479dbc2d1a3cd8
Signature of a webhook body
admin
string hmac "sha512" "{\"event\": \"paid\", \"id\": 42}" "whsec_test"
mentdb
5dd01e1611f79f20fdf3c0ac8f6ad02bf62ad4c3c5e8dd890c3dd7989ec6d3e7dac7827ebfc2a1c77fb5e33904e13ed9b5f5b5a5d30c52f4b0135fe86e8e6955
string hmac <algorithm> <text> <key> <json_params>
Description
HMAC with parameters: encoding (hex, base64, base64url), key_encoding (text, hex, base64)
HMAC with parameters: encoding (hex, base64, base64url), key_encoding (text, hex, base64)
Parameters
algorithm: The algorithm - String - required
text: The text - String - required
key: The key - String - required
json_params: The parameters - String - required
algorithm: The algorithm - String - required
text: The text - String - required
key: The key - String - required
json_params: The parameters - String - required
admin
string hmac "sha256" "GET /v1/orders 1793750400" "c2VjcmV0LWtleQ==" "{\"key_encoding\": \"base64\", \"encoding\": \"base64\"}"
mentdb
1YA1wnHOVUYxiYY84t5JC0VP0PwNOLrC7q/M2EANie0=
Used in use cases (1 recipe)
Security engineer › Encrypt a sensitive field with AES-256-GCM and check the signature of a webhook
Security engineer › Encrypt a sensitive field with AES-256-GCM and check the signature of a webhook
Often used with
string decrypt_aes · string encrypt_aes · string generate_key_aes · string hmac_verify · string left · string length · string random_bytes · try
string decrypt_aes · string encrypt_aes · string generate_key_aes · string hmac_verify · string left · string length · string random_bytes · try
string hmac_verify <algorithm> <text> <key> <expected>
Description
Check an HMAC in constant time (PHP hash_equals): 1 if it is right; the expected HMAC can be in hexadecimal, Base64 or Base64 URL
Check an HMAC in constant time (PHP hash_equals): 1 if it is right; the expected HMAC can be in hexadecimal, Base64 or Base64 URL
Parameters
algorithm: The algorithm - String - required
text: The text - String - required
key: The key - String - required
expected: The HMAC received - String - required
algorithm: The algorithm - String - required
text: The text - String - required
key: The key - String - required
expected: The HMAC received - String - required
admin
string hmac_verify "sha256" "The quick brown fox jumps over the lazy dog" "key" "f7bc83f430538424b13298e6aa6fb143ef4d59a14946175997479dbc2d1a3cd8"
mentdb
1
string hmac_verify <algorithm> <text> <key> <expected> <json_params>
Description
Check an HMAC with parameters: key_encoding
Check an HMAC with parameters: key_encoding
Parameters
algorithm: The algorithm - String - required
text: The text - String - required
key: The key - String - required
expected: The HMAC received - String - required
json_params: The parameters - String - required
algorithm: The algorithm - String - required
text: The text - String - required
key: The key - String - required
expected: The HMAC received - String - required
json_params: The parameters - String - required
admin
string hmac_verify "sha1" "payload" "6b6579" "2f3902cd1626fa7fdfb67e93109f50412ad71531" "{\"key_encoding\": \"hex\"}"
mentdb
1
Used in use cases (1 recipe)
Security engineer › Encrypt a sensitive field with AES-256-GCM and check the signature of a webhook
Security engineer › Encrypt a sensitive field with AES-256-GCM and check the signature of a webhook
Often used with
string decrypt_aes · string encrypt_aes · string generate_key_aes · string hmac · string left · string length · string random_bytes · try
string decrypt_aes · string encrypt_aes · string generate_key_aes · string hmac · string left · string length · string random_bytes · try
string hash <algorithm> <text>
Description
Hash of a text with any algorithm (PHP hash): md5, sha1, sha224, sha256, sha384, sha512, sha512/224, sha512/256, sha3-224, sha3-256, sha3-384, sha3-512, crc32b
Hash of a text with any algorithm (PHP hash): md5, sha1, sha224, sha256, sha384, sha512, sha512/224, sha512/256, sha3-224, sha3-256, sha3-384, sha3-512, crc32b
Parameters
algorithm: The algorithm - String - required
text: The text - String - required
algorithm: The algorithm - String - required
text: The text - String - required
admin
string hash "sha3-256" "abc"
mentdb
3a985da74fe225b2045c172d6bd390bd855f086e3e9d525b46bfe24511431532
CRC32 as PHP crc32b
admin
string hash "crc32b" "The quick brown fox jumped over the lazy dog."
mentdb
82a34642
string hash <algorithm> <text> <json_params>
Description
Hash with parameters: encoding (hex, base64, base64url)
Hash with parameters: encoding (hex, base64, base64url)
Parameters
algorithm: The algorithm - String - required
text: The text - String - required
json_params: The parameters - String - required
algorithm: The algorithm - String - required
text: The text - String - required
json_params: The parameters - String - required
admin
string hash "sha256" "abc" "{\"encoding\": \"base64\"}"
mentdb
ungWv48Bz+pBQUDeXa4iI7ADYaOWF3qctBD/YfIAFa0=
Used in use cases (1 recipe)
IoT & sensor engineer › Shrink sensor messages with CBOR and MessagePack, and sign the same bytes every time
IoT & sensor engineer › Shrink sensor messages with CBOR and MessagePack, and sign the same bytes every time
string random_bytes <n>
Description
Secure random bytes in hexadecimal (tokens, salts, identifiers): 1 to 1 048 576 bytes
Secure random bytes in hexadecimal (tokens, salts, identifiers): 1 to 1 048 576 bytes
Parameters
n: The number of bytes - Number - required
n: The number of bytes - Number - required
admin
-> "[t]" (string random_bytes 16); (string length [t])
mentdb
32
string random_bytes <n> <encoding>
Description
Secure random bytes in an encoding: hex, base64, base64url
Secure random bytes in an encoding: hex, base64, base64url
Parameters
n: The number of bytes - Number - required
encoding: The encoding - String - required
n: The number of bytes - Number - required
encoding: The encoding - String - required
admin
-> "[t]" (string random_bytes 32 "base64url"); (string length [t])
mentdb
43
Used in use cases (1 recipe)
Security engineer › Encrypt a sensitive field with AES-256-GCM and check the signature of a webhook
Security engineer › Encrypt a sensitive field with AES-256-GCM and check the signature of a webhook
Often used with
string decrypt_aes · string encrypt_aes · string generate_key_aes · string hmac · string hmac_verify · string left · string length · try
string decrypt_aes · string encrypt_aes · string generate_key_aes · string hmac · string hmac_verify · string left · string length · try
string encode_b64url <text>
Description
Base64 URL of a text (UTF-8, alphabet - and _, without padding): tokens, JWT parts
Base64 URL of a text (UTF-8, alphabet - and _, without padding): tokens, JWT parts
Parameters
text: The text - String - required
text: The text - String - required
admin
string encode_b64url "{\"alg\": \"HS256\"}"
mentdb
eyJhbGciOiAiSFMyNTYifQ
string decode_b64url <data>
Description
Decode Base64 URL (with or without padding; the standard alphabet + / is accepted too; lenient: unused trailing bits are ignored)
Decode Base64 URL (with or without padding; the standard alphabet + / is accepted too; lenient: unused trailing bits are ignored)
Parameters
data: The Base64 URL text - String - required
data: The Base64 URL text - String - required
admin
string decode_b64url "eyJhbGciOiAiSFMyNTYifQ"
mentdb
{"alg": "HS256"}
string regexp_all <text> <pattern>
Description
All the matches of a regular expression (PHP preg_match_all): match, start and end (in characters), groups (null when a group did not participate) and named groups (?...). The pattern is a Java regex: "/usr/local/" matches the slashes too; the PHP form /pattern/flags is read with {"delimited": true}
All the matches of a regular expression (PHP preg_match_all): match, start and end (in characters), groups (null when a group did not participate) and named groups (?
Parameters
text: The text - String - required
pattern: The regular expression - String - required
text: The text - String - required
pattern: The regular expression - String - required
admin
string regexp_all "Invoices F2026-0042 (348.01) and F2026-0043 (1250.50)" "(?<number>F\d{4}-\d{4}) \((?<amount>[\d.]+)\)"
mentdb
[{"match": "F2026-0042 (348.01)", "start": 9, "end": 28, "groups": ["F2026-0042", "348.01"], "named": {"number": "F2026-0042", "amount": "348.01"}}, {"match": "F2026-0043 (1250.50)", "start": 33, "end": 53, "groups": ["F2026-0043", "1250.50"], "named": {"number": "F2026-0043", "amount": "1250.50"}}]
string regexp_all <text> <pattern> <json_params>
Description
All the matches with parameters: flags (i case insensitive, m multiline, s dot matches new lines, u Unicode classes, x comments), output (full or matches = only the matched texts), limit (100 000), timeout (2000 ms), delimited (false; true: the pattern is a PHP /pattern/flags)
All the matches with parameters: flags (i case insensitive, m multiline, s dot matches new lines, u Unicode classes, x comments), output (full or matches = only the matched texts), limit (100 000), timeout (2000 ms), delimited (false; true: the pattern is a PHP /pattern/flags)
Parameters
text: The text - String - required
pattern: The regular expression - String - required
json_params: The parameters - String - required
text: The text - String - required
pattern: The regular expression - String - required
json_params: The parameters - String - required
admin
string regexp_all "Contact: a@b.fr, c.d@e.re" "[\w.]+@[\w.]+" "{\"output\": \"matches\"}"
mentdb
["a@b.fr", "c.d@e.re"]
PHP form with a flag
admin
string regexp_all "Error: disk full. ERROR: timeout. error: retry" "/error: (\w+)/i" "{\"delimited\": true, \"output\": \"matches\"}"
mentdb
["Error: disk", "ERROR: timeout", "error: retry"]
string regexp_split <text> <pattern>
Description
Split a text by a regular expression (PHP preg_split)
Split a text by a regular expression (PHP preg_split)
Parameters
text: The text - String - required
pattern: The regular expression - String - required
text: The text - String - required
pattern: The regular expression - String - required
admin
string regexp_split "a, b;c ; d" "\s*[,;]\s*"
mentdb
["a", "b", "c", "d"]
string regexp_split <text> <pattern> <json_params>
Description
Split with parameters: limit (the number of pieces, the last one keeps the rest, the captured separators are not counted), no_empty, delim_capture (the groups of the separator are kept), flags, timeout, delimited (PHP /pattern/flags)
Split with parameters: limit (the number of pieces, the last one keeps the rest, the captured separators are not counted), no_empty, delim_capture (the groups of the separator are kept), flags, timeout, delimited (PHP /pattern/flags)
Parameters
text: The text - String - required
pattern: The regular expression - String - required
json_params: The parameters - String - required
text: The text - String - required
pattern: The regular expression - String - required
json_params: The parameters - String - required
admin
string regexp_split "a1b22c" "(\d+)" "{\"delim_capture\": true}"
mentdb
["a", "1", "b", "22", "c"]
admin
string regexp_split "k=v=w" "=" "{\"limit\": 2}"
mentdb
["k", "v=w"]
string regexp_quote <text>
Description
Escape the special characters of a text to use it in a regular expression (PHP preg_quote)
Escape the special characters of a text to use it in a regular expression (PHP preg_quote)
Parameters
text: The text - String - required
text: The text - String - required
admin
string regexp_quote "Price: 1.5$ (VAT 20%)"
mentdb
Price\: 1\.5\$ \(VAT 20%\)
string regexp_quote <text> <delimiter>
Description
Escape a text and a delimiter (as PHP, the delimiter cannot be a letter, a digit, a backslash or a space)
Escape a text and a delimiter (as PHP, the delimiter cannot be a letter, a digit, a backslash or a space)
Parameters
text: The text - String - required
delimiter: The delimiter - String - required
text: The text - String - required
delimiter: The delimiter - String - required
admin
string regexp_quote "path/to/file.txt" "/"
mentdb
path\/to\/file\.txt
