![]() |
|
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![]() charSet .
Examples
rascal>import String; ok rascal>squeeze("hello", "el"); str: "helo" ![]() |