RosettaCodeData/Task/Palindrome-detection/PureBasic/palindrome-detection.basic
2023-07-01 13:44:08 -04:00

7 lines
157 B
Text

Procedure IsPalindrome(StringToTest.s)
If StringToTest=ReverseString(StringToTest)
ProcedureReturn 1
Else
ProcedureReturn 0
EndIf
EndProcedure