Thread Title: Remove Hyphens and Numbers from a string
Thread Description (By: Carrzkiss):
<%
myVar = (objRS("Field1"))
If myVar <> "" Then
'Replace myVar,"",""
'End If
Dim i
for i = 0 to 9
myVar = replace(MyVar , "" & i, " ")
next
%>
<%=replace(Replace(myVar,"-",""),"" & i, " ") %>
<%
End If
%>
Q_24408135
Sorry, there is no Demo for this Article
Download Code (Some codes do not have .zip files with them, sorry!)
This Thread has been viewed: [ 395 ] times
|