OCLOperators StringToBase64

Will convert the string to a UTF8 encoded string stored in Base64 format.

When sending Base64 as URL parameter / and + will not survive - it is common to go like this: StringToBase64.Replace('/','_').Replace('+','-')

Chances are that the receiver will use this frequently used replacement pattern and understand the data - See this article for background

If you have a string in clear text and want it as a byte array (BLOB) go like this 'My clear text string'.StringToBase64.Base64ToBlob

This page was edited 87 days ago on 02/10/2024. What links here