From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Peter Wu Newsgroups: gmane.emacs.help Subject: Re: string func to use in .emacs Date: Sun, 25 Jan 2004 09:21:07 -0500 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <87ptd8gld8.fsf@tulip.whu.ca> References: <87llnwlij0.fsf@tulip.whu.ca> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1075041135 6711 80.91.224.253 (25 Jan 2004 14:32:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 25 Jan 2004 14:32:15 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jan 25 15:32:09 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AklJ3-0001dh-00 for ; Sun, 25 Jan 2004 15:32:09 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AklI2-0001al-02 for geh-help-gnu-emacs@m.gmane.org; Sun, 25 Jan 2004 09:31:06 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!cpe00095b30c1ed-cm000039823460.cpe.net.cable.rogers.COM!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 27 Original-NNTP-Posting-Host: cpe00095b30c1ed-cm000039823460.cpe.net.cable.rogers.com (63.138.206.3) Original-X-Trace: news.uni-berlin.de 1075040465 23469291 63.138.206.3 ([117651]) User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:S0J/xU/fh79oxwnh7RbF49AdPsw= Original-Xref: shelby.stanford.edu gnu.emacs.help:120395 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:16340 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:16340 On 25 Jan 2004 08:31:30 +0200, Eli Zaretskii wrote: >> From: Peter Wu >> Newsgroups: gnu.emacs.help >> Date: Sun, 25 Jan 2004 00:11:15 -0500 >> >> I'm working on my .emacs file and would like to know if there is any >> string func ready, such as string trimming, for use in .emacs. > What is ``string trimming'', exactly? What API do you have in mind? > It's hard to give you a good answer without knowing that much, since > string trimming has more than one possible meaning. > Likewise for the other string functions you need--please spell out the > details. What I am looking for is like this: input := "Emacs " output := "Emacs" The trailing blank space is trimmed. -- ,,, (o o) Peter Wu ---ooO-(_)-Ooo--- Powered by GNU/Linux 2.4.22