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
A palindrome is a sequence that reads the same forward and backward. For the number 2, a simple palindrome would be the number itself, as it remains unchanged when reversed. Other palindromic representations could include "22" or "2.2," which also read the same in both directions.
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
high level language
yes
yes
The answer will depend which attribute you wish to convert.