Determine if a string is squeezable: Difference between revisions

Line 1,404:
 
* "SQUEEZE returns a string that reduces all multiple occurrences of a [specified] character to one ..."
* The example given is in effect 'SabcSS:SSdefSSSghSS' => 'SabcS:SdefSghS' where S signifies a single space character.
 
=== jq program ===
2,502

edits