Public Function IsPalindrome( _ ByVal vValue As Variant _ ) As Variant
IsPalindrome("This is a test.") = False IsPalindrome("A man, a plan, a canal, Panama.") = True IsPalindrome(Panama) = TrueSee also:
ReverseString Function StrReverse Function (Visual Basic) IsAnagram Function IsAlliteration FunctionvValue: The string containing the phrase which is to be checked to see if it is a palindrome. Function returns Null if vValue is Null or cannot be fixed up to a String.
Note: Function uses the built-in character classification routines to determine which characters are alphanumeric.
Note: Function returns False if there are no alphanumeric characters in the string vValue since an empty string is not considered a palindrome.
Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.