10 Years of Service
15%
Please note, if you want to make a deal with this user, that it is blocked.
[HIDE-THANKS]You can use this function to find a specific character in a given string variable, and then return that string sans the character for which you searched. Example provided in the source.
[/HIDE-THANKS]
Code:
> Function Searchstring(StringToSearch As String, StringToFind As String) As String
Dim Char, Newword As String
Dim intStartingFrom, intCount As Long
intCount = Len(StringToSearch) + 1
Do Until intStartingFrom >= intCount
intStartingFrom = intStartingFrom + 1
Char = Mid$(StringToSearch, intStartingFrom, 1)
If Char = StringToFind Then
Else
Newword = Newword & Char
End If
Loop
Searchstring = Newword
End Function