Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 8124 invoked from network); 5 Aug 2009 09:46:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 5 Aug 2009 09:46:22 -0000 Received: (qmail 32923 invoked by uid 500); 5 Aug 2009 09:46:29 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 32847 invoked by uid 500); 5 Aug 2009 09:46:28 -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 32837 invoked by uid 99); 5 Aug 2009 09:46:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Aug 2009 09:46:28 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Aug 2009 09:46:19 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1MYd4I-00014G-QE for user@ant.apache.org; Wed, 05 Aug 2009 02:45:58 -0700 Message-ID: <24823814.post@talk.nabble.com> Date: Wed, 5 Aug 2009 02:45:58 -0700 (PDT) From: Raagu To: user@ant.apache.org Subject: Reversing a list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: rknilekani2005@gmail.com X-Virus-Checked: Checked by ClamAV on apache.org Hello People I have a written a ant script which has a variable say "list" which contains list of names say name1,name2,ant,forum,nabble . All r comma separated.. I want to reverse this list such dat , after reversing "list" should give me nabble,forum,ant,name2,name1.. And also Is there any option to discard some of the values from list..?? Please reply Thanks in advance -- View this message in context: http://www.nabble.com/Reversing-a-list-tp24823814p24823814.html Sent from the Ant - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org