Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 7286 invoked from network); 8 Aug 2005 12:26:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 8 Aug 2005 12:26:36 -0000 Received: (qmail 26380 invoked by uid 500); 8 Aug 2005 12:26:30 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 26338 invoked by uid 500); 8 Aug 2005 12:26:29 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 26322 invoked by uid 99); 8 Aug 2005 12:26:29 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Aug 2005 05:26:29 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of krist.vanbesien@gmail.com designates 64.233.184.199 as permitted sender) Received: from [64.233.184.199] (HELO wproxy.gmail.com) (64.233.184.199) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Aug 2005 05:26:51 -0700 Received: by wproxy.gmail.com with SMTP id i24so751256wra for ; Mon, 08 Aug 2005 05:26:27 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=cXGL9xhHSzIjUhluV05LGGK7A6cr5DbK2tlNvcI1jwyLXa0xs3k1TZ9IO7/v8zuQ2vdLWsk6/wOTm94W5mrLXKkzS3BrCYdKSu+m3D1DruyyQGXSAqkGkmcvlKWTHFnZ6mJzGoLyLWhQfoq1ZXYZxIkQCHU4xJe1oqrz1w76Iqk= Received: by 10.54.68.16 with SMTP id q16mr4762126wra; Mon, 08 Aug 2005 05:26:27 -0700 (PDT) Received: by 10.54.83.11 with HTTP; Mon, 8 Aug 2005 05:26:27 -0700 (PDT) Message-ID: <6ed6382b05080805262290ee23@mail.gmail.com> Date: Mon, 8 Aug 2005 14:26:27 +0200 From: Krist van Besien To: user@ant.apache.org Subject: extracting part of a property. Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hello, I am trying to figure out if I could get ant to do some string manipulation= . Suppose I have a property with value: "foo_0.01 and I want to split this on the _ character and put "foo" and "0.01" each in a different property to use further down in my ant script. How would I do this? Krist --=20 krist.vanbesien@gmail.com Solothurn, Switzerland --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org