base64_url_safe_encode
Encodes a string in URL-safe Base64 format.
To produce URL-safe Base64, this helper uses - and _ in place of + and /.
Params
str{String}Enter the required string, required.returns{String}Return string.
Usage
{{ base64_url_safe_encode str }}
Example
{{{ base64_url_safe_encode '<p>ok?</p>' }}}
Was this article helpful to you?