Hi,
I want to call a VBScript function to encode a string (basically it does a series of 'replaces') but I need to do it from within ASP and I will then write the encoded string to the appropriate part of the page.
My code is this:
strContent = trim(Request.Form("strContent"))
strContent = ENCODE(strContent)
but I keep getting either 'variable undefined: ENCODE' (which is weird because ENCODE is the function name, not a variable); or I get a type mismatch. I have tried removing the 'strContent =' from the second line but that doesn't work either.
Any ideas?
'Live, love and learn'