Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Public Function Replace(strSource As String, String1 As String, String2 As String) As String
Dim iLoc As Integer
Dim NewString As String
NewString = strSource
iLoc = InStr(NewString, String1)
Do While iLoc > 0
NewString = Left$(NewString, iLoc - 1) & String2 & Mid$(NewString, iLoc + 1)
iLoc = InStr(iLoc + 2, NewString, String1)
Loop
Replace = NewString
End Function
SELECT replace(replace(replace([phoneNo],"-",""),")",""),"(","") AS replaced
FROM myTable;