Synopsis Squeeze repeated occurrences of characters.
Function str squeeze(str src, str charSet)
Usage import String;
Description Squeeze repeated occurrences in src of characters in charSet removed. See Apache for the allowed syntax in charSet.
rascal>import String;
rascal>squeeze("hello", "el");
str: "helo"
Is this page unclear, or have you spotted an error? Please add a comment below and help us to improve it. For all other questions and remarks, visit