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

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

Re: left-trim and right-trim for strings


From: Jesper Harder
Subject: Re: left-trim and right-trim for strings
Date: Mon, 23 Sep 2002 11:30:53 +0200
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-redhat-linux-gnu)

Klaus Berndl <Klaus.Berndl@sdm.de> writes:

> left-trim: Removing any leading whitespace from a string.
> right-trim: Removing any trailing whitespace from a string.
>
> Are there such functions available in elisp or have i to write them
> for myself?

I don't think there are.  

I usually end up reusing something from Gnus, when I need it,
e.g. `gnus-simplify-whitespace', `mm-file-name-trim-whitespace' etc.


reply via email to

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