ahsoftware at sonic.net
Tue Jun 16 12:43:52 EDT 2020
On 6/16/20 9:24 AM, Mike Kerner via use-livecode wrote:
> does anyone have a routine to do base64urlencoding? it's not the same as
> base64encoding or urlencoding.
It mostly is the same. Does this do the trick?
function base64urlencode pString
put base64encode(pString) into tEncoded
replace "+" with "-" in tEncoded
replace "/" with "_" in tEncoded
replace "=" with "" in tEncoded
ahsoftware at gmail.com
More information about the use-livecode