Hi there,
I've got a pretty easy problem, I guess. I use a wysiwyg-editor which enables my customer to insert hyperlink in to text. The editor however creates absolute path's which I want to alter to relative path's. No sweat so far. I wrote a function:
Function absolute_to_relative(str)
str = Replace(str, " "../")
End Function
And I call this function like:
Description = absolute_to_relative(Request.Form(Description))
Problem is that is keeps on returning empty fields. What is wrong? I know I plobably have to do something like Return(str) or Response.Write(str) but neither of both does the trick.
Suggestions?
Don't eat yellow snow!
I've got a pretty easy problem, I guess. I use a wysiwyg-editor which enables my customer to insert hyperlink in to text. The editor however creates absolute path's which I want to alter to relative path's. No sweat so far. I wrote a function:
Function absolute_to_relative(str)
str = Replace(str, " "../")
End Function
And I call this function like:
Description = absolute_to_relative(Request.Form(Description))
Problem is that is keeps on returning empty fields. What is wrong? I know I plobably have to do something like Return(str) or Response.Write(str) but neither of both does the trick.
Suggestions?
Don't eat yellow snow!