OCLOperators StringToAnsiBase64
Created by Lars.olofsson on 2019-02-24 · Last edited by Vale.buyondo on 2026-02-19.
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=
