I have a function that I want to check the first character from the left and see if it is a comma, if it is a comma I want to make it a space, if it isn't a comma I want to do nothing. How would I check this? Here is my function I don't know how to test firstAndlast to see if the first character from the left is a comma???
Function MyFunction(firstAndlast) As String
Dim retvalue
If firstAndlast="," Then
retvalue="<font color=#FFFFFF> </font>"
End If
return retvalue
End Function
Function MyFunction(firstAndlast) As String
Dim retvalue
If firstAndlast="," Then
retvalue="<font color=#FFFFFF> </font>"
End If
return retvalue
End Function