RosettaCodeData/Task/Palindrome-detection/Rascal/palindrome-detection-1.rascal
Ingy döt Net b83f433714 tasks a-s
2013-04-10 23:57:08 -07:00

3 lines
88 B
Text

import String;
public bool palindrome(str text) = toLowerCase(text) == reverse(text);