How do we do a URL decode on a text recieved from request in an IBM Domino lotusscript agent?
Unfortunately there is no default URLdecode- function in LotusScript. I always use Evaluate
for this:
Dim varResult as Variant
Dim strUrl as String
Dim strUrlDecoded as String
strUrl = "Employee%2FMy%20Database.nsf"
varResult = Evaluate( {@URLDecode( "Domino"; "} & strUrl & {" )} )
strUrlDecoded = varResult( 0 )