Navigation
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.
Examples
rascal>import String;
ok
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 ask.rascal-mpl.org.