OCLOperators StringToEncodedBase64
(Replacing message template with parser tag)
(Updated Edited template to July 12, 2025.)
Line 6: Line 6:
'''Note!''' You will run into problems if you try to store a non-Unicode string in the string type. Use Base64 encoding!
'''Note!''' You will run into problems if you try to store a non-Unicode string in the string type. Use Base64 encoding!
[[Category:OCL String Operators]]
[[Category:OCL String Operators]]
{{Edited|July|12|2024}}
{{Edited|July|12|2025}}

Revision as of 05:55, 20 January 2025

This page was created by Lars.olofsson@mdriven.net on 2019-02-24. Last edited by Stephanie@mdriven.net on 2025-02-07.

Convert a string to a specific encoding and as a base64 string.

<string>.StringToEncodedBase64(28591)

The value 28591 is ISO 8859-1 Latin 1; Western European (ISO) taken from this table: https://docs.microsoft.com/en-us/windows/desktop/intl/code-page-identifiers

Note! You will run into problems if you try to store a non-Unicode string in the string type. Use Base64 encoding!