unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Jesper Harder <harder@myrealbox.com>
Subject: Re: left-trim and right-trim for strings
Date: Mon, 23 Sep 2002 11:30:53 +0200	[thread overview]
Message-ID: <m37khdf3xu.fsf@defun.localdomain> (raw)
In-Reply-To: uit0xm69z.fsf@sdm.de

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	other threads:[~2002-09-23  9:30 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-23  8:58 left-trim and right-trim for strings Klaus Berndl
2002-09-23  9:30 ` Jesper Harder [this message]
2002-09-23 11:28 ` Oliver Scholz
2002-09-23 10:02   ` Klaus Berndl
2002-09-23 10:19   ` Klaus Berndl
2002-09-23 18:45     ` Stefan Monnier <foo@acm.com>
2002-09-24  5:11       ` maierh
2002-09-24  5:24         ` Benjamin Lewis
2002-09-24 13:09         ` Klaus Berndl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m37khdf3xu.fsf@defun.localdomain \
    --to=harder@myrealbox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).