-
-
Save yayoc/2b3a48aff7790c7e5378 to your computer and use it in GitHub Desktop.
Url encode function
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Function URLEncode(url) | |
Dim sc | |
Set sc = CreateObject("ScriptControl") | |
sc.Language = "JScript" | |
Dim js | |
Set js = sc.CodeObject | |
URLEncode = js.encodeURI(url) | |
End Function |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment