Private Sub Command1_Click()
string1 = Text1.Text
string2 = StrReverse(string1)
result = StrComp(string1, string2, vbTextCompare)
If result = 0 Then
MsgBox string2 & " is a palindrome..."
Else
MsgBox string1 & " is not a palindrome..."
End If
End Sub
high level language
C# its Very Sharp VB-Visual Basic Extension for BASIC C# its Very Sharp VB-Visual Basic Extension for BASIC
You can do this: <?php if ( $word === strrev( $word ) ) { echo "The word is a palindrome"; } else { echo "The word is not a palindrome"; }
606
You could use a function like this:function isPalindrome($string) {$string = strtolower($string);return (strrev($string) == $string) ? true : false;}and then to check a palindrome call an if statement like so:if(isPalindrome($test)) {echo $test.' is a palindrome';}else {echo $test.' is not a palindrome';}
form1.vb
vvbvcvbn vb
wrtrwtgfe
poooda
in morse code
SOS, the international Morse code distress signal, is a palindrome.
you can get lots of source code from 1000projects.com in diff languages....
palindrome
yes
high level language
yes
The answer will depend which attribute you wish to convert.