Skip to content
Chris Petersen edited this page Oct 16, 2014 · 1 revision

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."
Clone this wiki locally