elisp - How to add a common prefix/suffix to a list of strings? -
how add common prefix/suffix list of strings? example:
from ("abc" "123" "xy")
to ("pre_abc" "pre_123" "pre_xy")
try
(mapcar (lambda (c) (concat "pre_" x)) '("abc" "123" "xy"))
how add common prefix/suffix list of strings? example:
from ("abc" "123" "xy")
to ("pre_abc" "pre_123" "pre_xy")
try
(mapcar (lambda (c) (concat "pre_" x)) '("abc" "123" "xy"))
Comments
Post a Comment