>>>Does anyone know of a function in VFP that converts the special characters in a URL to escape codes (E.g. #38; is an & ) and then back to regular characters?
>>>
>>>Thanks
>>>
>>>Costas
>>
>>UrlEscape() and UrlUnescape() are API calls in Shlwapi.dll. You can find a VB example of these functions
here.
>>
>>HTH,
>
>The functions you gave me convert the special from %nn . I am looking for something that converts the characters from a format as #nn;
>
Can you use the strtran() function to convert all % symbols to # symbols first? Or will that cause other problems?
I think Rick really was chomping at the bit to post some code last night, and maybe he will do so. I think Foxweb has functions (
www.foxweb.com) that would handle this, and I would also think that Rick has classes and functions that will do this (and much, much more) at
www.west-wind.com.
Steve Gibson