help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

removing spaces from a string


From: Peter Tury
Subject: removing spaces from a string
Date: Wed, 19 Apr 2006 09:02:19 GMT
User-agent: 40tude_Dialog/2.0.15.1

Hi,

how can I most simply remove all spaces from a string? I plan to have a
variable what holds the string, so functions what operates on regions,
rectangles or any parts of a buffer, etc. are not good (I guess).

I would need something like this: (remove-all-space a-sting-var); if e.g.
(setq a-string-var "abcd ef   dg ") then this should return "abcdefdg" what
I will pass forward to another function (namely: process-send-string).

Thanks!
P


reply via email to

[Prev in Thread] Current Thread [Next in Thread]