Determine if a string is squeezable: Difference between revisions

Content added Content deleted
Line 1,404: Line 1,404:


* "SQUEEZE returns a string that reduces all multiple occurrences of a [specified] character to one ..."
* "SQUEEZE returns a string that reduces all multiple occurrences of a [specified] character to one ..."
* The example given is: ' abc : def gh '
* The example given is in effect SabcSS:SSdefSSSghSS' where S signifies a single space character.
** i.e. 'SabcSS:SSdefSSSghSS' where S signifies a single space character.


=== jq program ===
=== jq program ===