From dcb790f88649dbf8930f2e2fa185dd7b1b96e902 Mon Sep 17 00:00:00 2001 From: Pascal Christoph Date: Fri, 19 Jul 2024 14:24:28 +0200 Subject: [PATCH] Sync Fix-functions-and-Cookbook.md to MF release 6.1.2 Follows https://github.com/metafacture/metafacture-core/issues/551. --- docs/fix/Fix-functions-and-Cookbook.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/fix/Fix-functions-and-Cookbook.md b/docs/fix/Fix-functions-and-Cookbook.md index 240fd49..3a73789 100644 --- a/docs/fix/Fix-functions-and-Cookbook.md +++ b/docs/fix/Fix-functions-and-Cookbook.md @@ -732,6 +732,16 @@ to_json(""[, pretty: ""][, error_string: ""]) [Java Code](https://github.com/search?type=code&q=repo:metafacture/metafacture-fix+path:FixMethod.java+"+to_json+{") +##### `to_base64` + +Replaces the value with its Base64 encoding. + +```perl +to_base64("") +``` + +[Java Code](https://github.com/search?type=code&q=repo:metafacture/metafacture-fix+path:FixMethod.java+"+to_base64+{") + ##### `trim` Deletes whitespace at the beginning and the end of a field value. @@ -1089,3 +1099,4 @@ Executes the functions if/unless the field value does not match the regular expr Executes the functions if/unless the string matches the regular expression pattern. [Java Code](https://github.com/search?type=code&q=repo:metafacture/metafacture-fix+path:FixConditional.java+"+str_match+{") +