base64ToUrlBase64

Converts a Base64 encoded string to a URL-safe Base64 encoded string.

This transformation replaces special characters '+' and '/' in the given Base64 string with '-' and '_', respectively, to make the string safe for use in URLs.

Return

A URL-safe Base64 encoded string derived from the original Base64 encoded string.