[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: removing spaces from a string
From: |
LENNART BORGMAN |
Subject: |
Re: removing spaces from a string |
Date: |
Wed, 19 Apr 2006 12:01:21 +0200 |
From: Peter Tury <tury.peter@gmail.com>
Date: Wednesday, April 19, 2006 11:02 am
Subject: removing spaces from a string
> 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
>
Maybe use replace-regexp-in-string?
- removing spaces from a string, Peter Tury, 2006/04/19
- Re: removing spaces from a string,
LENNART BORGMAN <=
- Re: removing spaces from a string, Peter Tury, 2006/04/19
- Re: removing spaces from a string, David Kastrup, 2006/04/19
- Re: removing spaces from a string, Pascal Bourguignon, 2006/04/19
- Re: removing spaces from a string, David Kastrup, 2006/04/19
- Re: removing spaces from a string, Peter Tury, 2006/04/19
- Re: removing spaces from a string, Giorgos Keramidas, 2006/04/19
- Re: removing spaces from a string, Peter Tury, 2006/04/19
- Re: removing spaces from a string, Pascal Bourguignon, 2006/04/19
Re: removing spaces from a string, Eli Zaretskii, 2006/04/19