RosettaCodeData/Task/Palindrome-detection/BASIC/palindrome-detection-4.basic

9 lines
148 B
Text
Raw Permalink Normal View History

2019-09-12 10:33:56 -07:00
15 GOSUB 90
80 STOP
90 LET T$=""
100 FOR I=1 TO LEN S$
110 IF S$(I)>="A" AND S$(I)<="Z" THEN LET T$=T$+S$(I)
120 NEXT I
130 LET S$=T$
140 RETURN