Function UrlEncode(strString) 'As String
Dim strUrlEncode
Dim lngPos
For lngPos = 1 To Len(strString)
strUrlEncode = strUrlEncode & "%" & Right("0" & Hex(Asc(Mid(strString, lngPos, 1))), 2)
Next
UrlEncode = strUrlEncode
End Function
1 comment:
Thanks for the post..
url encode
Post a Comment