devxlogo

Stripping Double Characters From a String

Stripping Double Characters From a String

Here is a sipel function for stripping double characters from a string:

 Public Function StripDoubleChar(ByVal Text As String, Char As String) As StringDim Pos As LongDim Start As IntegerDim sTemp As StringDim sFind As StringDim iCount As Integer    Start = 1    sTemp = Text    sFind = String(2, Char)    Do        Pos = InStr(Start, sTemp, sFind, vbBinaryCompare)        If Pos Then            Mid$(sTemp, Pos) = Mid$(sTemp, Pos + 1) &

devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist