[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Usage: (string-substitute source match repl)
match
and repl
may be either a single string or
a list of strings. Either way, they must have the same structure
and number of elements. For example, to replace all less than
and all greater than characters, do something like this:
(string-substitute source '("&" "<" ">") '("&" "<" ">")) |
Arguments:
source - string to transform
match - substring or substring list to be replaced
repl - replacement strings or substrings