🚀 Welcome to MDriven Learn –  Don’t miss the latest Release Notes.
OCLOperators StringToAnsiBase64

The StringToAnsiBase64 operator is an OCL/EAL command used to convert a string into a Base64-encoded string using Windows-1252 (ANSI) encoding. It is primarily used when communicating with legacy systems that require ANSI-based Base64 encoding instead of UTF-8.

Syntax

'your string'.StringToAnsiBase64

Example

'Hello World'.StringToAnsiBase64()

Output

SGVsbG8gV29ybGQ=