Decode MIME base64 back to data.

base64:decode(STRING data
, BOOL strict: FALSE)

base64:decode("SGVsbG8gdGhpcyBpcyBteSB0ZXh0Lg==")
#=> "Hello this is my text."

#===
# Setting strict to true will return false if if the input contains character from outside the base64 alphabet. Otherwise invalid characters will be silently discarded.
base64:decode("SGVsbG8gdGhpcyBpcyBteSB0ZXh0Lg==~CHARS", TRUE)
#=> FALSE

Copyright ©2013-2022 SunSed®. All rights reserved.