|
||
|
ASP Functions Replace() Function example in ASP Essential syntax: Replace(variable, searchfor, replacewith) <HTML> <% 'BEGIN ASP SCRIPT Dim cTest, cNew 'Initialize a couple of 'Character variables cTest = "Just showing off the replace statement" cNew = Replace(cTest, "off", "around") %> <!–END ASP SCRIPT ––> The new value is <%=cNew%>. </HTML> The new value is Just showing around the replace statement. |
||
|
|
||
