Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

A problem to replace a string with forward slashes….

Status
Not open for further replies.

Plato2

Programmer
Dec 6, 2002
192
US
I have a string with forward slashes.("/cgi-bin/detail.dtw/disp")

Dim result as string
result=".........../cgi-bin/detail.dtw/disp............"

I want to replace this string everywhere where it finds
"name2/name3" with something else. But it never replaces it.

I do: Replace(result, "/cgi-bin/detail.dtw/disp", "ProductDetails.aspx")

But it never replaces this string.

How can I solve this problem?

Thanks in advance

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top