How can I change the output from the following code to something instead of true or false? perhaps yes and no?
Function Palindrome(StrTest As String) As Boolean
Dim temp As String
Dim i As Long
For i = 1 To Len(StrTest)
If Mid(StrTest, i, 1) Like "[0-9A-Za-z]" Then
temp = temp & UCase(Mid(StrTest, i, 1))
End If
Next i
Palindrome = temp = StrReverse(temp)
End Function
Function Palindrome(StrTest As String) As Boolean
Dim temp As String
Dim i As Long
For i = 1 To Len(StrTest)
If Mid(StrTest, i, 1) Like "[0-9A-Za-z]" Then
temp = temp & UCase(Mid(StrTest, i, 1))
End If
Next i
Palindrome = temp = StrReverse(temp)
End Function