Determine if a string is collapsible: Difference between revisions
Content added Content deleted
(→{{header|REXX}}: marked incorrect) |
|||
Line 1,414: | Line 1,414: | ||
=={{header|REXX}}== |
=={{header|REXX}}== |
||
{{incorrect|HQ9+|not consistent with the task's requirements which are a function which 'determines if a character string is collapsible' and 'if so collapses the string (by removing immediately repeated characters)}} |
|||
<lang rexx>/*REXX program "collapses" all immediately repeated characters in a string (or strings).*/ |
<lang rexx>/*REXX program "collapses" all immediately repeated characters in a string (or strings).*/ |
||
@.= /*define a default for the @. array. */ |
@.= /*define a default for the @. array. */ |