Determine if a string is collapsible: Difference between revisions

Content added Content deleted
(→‎{{header|REXX}}: removed bogus flagging as all five strings were indeed used, with five results as per the task's requirements.)
m (→‎{{header|REXX}}: corrected an input field string in the program and also it counterpart in the output.)
Line 506: Line 506:
else do; @.1=
else do; @.1=
@.2= '"If I were two-faced, would I be wearing this one?" --- Abraham Lincoln '
@.2= '"If I were two-faced, would I be wearing this one?" --- Abraham Lincoln '
@.3= ..1111111111111111111111111111111111111111111111111111111111111111177788
@.3= ..1111111111111111111111111111111111111111111111111111111111111117777888
@.4= "I never give 'em hell, I just tell the truth, and they think it's hell. "
@.4= "I never give 'em hell, I just tell the truth, and they think it's hell. "
@.5= ' --- Harry S Truman '
@.5= ' --- Harry S Truman '
Line 537: Line 537:
length= 70 output=«««"If I were two-faced, would I be wearing this one?" - Abraham Lincoln »»»
length= 70 output=«««"If I were two-faced, would I be wearing this one?" - Abraham Lincoln »»»
═════════════════════════════════════════════════════════════════════════════════════════════════════════
═════════════════════════════════════════════════════════════════════════════════════════════════════════
length= 72 input=«««..1111111111111111111111111111111111111111111111111111111111111111177788»»»
length= 72 input=«««..1111111111111111111111111111111111111111111111111111111111111117777888»»»
length= 4 output=«««.178»»»
length= 4 output=«««.178»»»
═════════════════════════════════════════════════════════════════════════════════════════════════════════
═════════════════════════════════════════════════════════════════════════════════════════════════════════