greekpatriott
Technical User
Hello,
Is it possible to add another symbol instead of "." in this module??? Can I have two symbols at the same time such as "." or "-"?
Cheers
Public Function basChopLast(strIn As String) As String
Dim MyAry() As String
MyAry = Split(strIn, ".")
If (UBound(MyAry) > 0) Then
ReDim Preserve MyAry(UBound(MyAry) - 1)
End If
basChopLast = Join(MyAry, ".")
End Function
Is it possible to add another symbol instead of "." in this module??? Can I have two symbols at the same time such as "." or "-"?
Cheers
Public Function basChopLast(strIn As String) As String
Dim MyAry() As String
MyAry = Split(strIn, ".")
If (UBound(MyAry) > 0) Then
ReDim Preserve MyAry(UBound(MyAry) - 1)
End If
basChopLast = Join(MyAry, ".")
End Function