lang • base64

Base64$

Since 3.2

Base64String = Base64 ( String ) Base64String = Base64$ ( String )

Encode a string in Base64.

Examples

Print Base64$("Gambas Almost Means BASIC !")
R2FtYmFzIEFsbW9zdCBNZWFucyBCQVNJQyAh
Print Base64("Base64 may require padding")
QmFzZTY0IG1heSByZXF1aXJlIHBhZGRpbmc=

See also