this is in AS VBScript :
<%
Dim myString
myString = "|"
' vbscript replace specified with 3 required parameters such as string expression, find string and replacement string value
Response.Write(Replace(myString, "|", "|"))
%>
But where do I have to place it ?