[ic] How do I chop a string?

Jason Feingold jason_feingold@hotmail.com
Sun, 15 Apr 2001 15:31:48


in perl try using chomp or chop, check the docs. I dont know how to use 
scratch...


>From: "Rene Hertell" <rene@hertell.com>
>Reply-To: interchange-users@lists.akopia.com
>To: "Interchange-Users" <interchange-users@minivend.com>
>Subject: [ic] How do I chop a string?
>Date: Sun, 15 Apr 2001 16:29:09 +0300
>MIME-Version: 1.0
>Received: from [199.6.32.160] by hotmail.com (3.2) with ESMTP id 
>MHotMailBCA2ED8000B74004310BC70620A0408D0; Sun Apr 15 06:30:53 2001
>Received: from ns.minivend.com (localhost [127.0.0.1])by mail.minivend.com 
>(8.9.3/8.9.3) with ESMTP id JAA25793;Sun, 15 Apr 2001 09:30:33 -0400
>Received: from virtual.netsonic.fi (root@virtual.netsonic.fi 
>[194.29.192.50])by mail.minivend.com (8.9.3/8.9.3) with ESMTP id 
>JAA25774for <interchange-users@minivend.com>; Sun, 15 Apr 2001 09:30:30 
>-0400
>Received: from rene2k (tuubi86.adsl.netsonic.fi [194.29.196.86])by 
>virtual.netsonic.fi (8.9.3/8.9.3) with SMTP id QAA27454for 
><interchange-users@minivend.com>; Sun, 15 Apr 2001 16:30:22 +0300
>From interchange-users-admin@lists.akopia.com Sun Apr 15 06:32:43 2001
>Message-ID: <PBEAKFLPAMBMOAAHMENNOEHFCDAA.rene@hertell.com>
>X-Priority: 3 (Normal)
>X-MSMail-Priority: Normal
>X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
>X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
>Importance: Normal
>Sender: interchange-users-admin@lists.akopia.com
>Errors-To: interchange-users-admin@lists.akopia.com
>X-Mailman-Version: 1.1
>Precedence: bulk
>List-Id: Interchange Users (high volume) 
><interchange-users.lists.akopia.com>
>X-BeenThere: interchange-users@lists.akopia.com
>X-MIME-Autoconverted: from 8bit to quoted-printable by mail.minivend.com id 
>JAA25793
>
>Hi list,
>
>I'm having a field that contains values inserted by users. My problem is
>that when I'm displaying these values, my site-layout will get broken.
>
>I could copy the value to a scratch variable, and cut off everything after
>the first space, or eg. the 10th character, but I'm not good at this at all
>:(
>
>I'm sure this is easy, but I'm a novice in Perl, so this causes too much
>headache for me...
>
>
>Regards, René
>
>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com