string remove char - part-cw/lambdanative GitHub Wiki
(string-remove-char str chr)
string-remove-char removes all occurrences of character chr from string
Parameter | Description |
---|---|
str | Input string |
chr | Character to be removed |
Example
Example 1: Remove all a's from a string
> (string-remove-char "An apple tree has apples." #\a)
"An pple tree hs pples."