Article View: borland.public.jbuilder.java.language
Article #498Re: How to split a String?
From: Shankar Unni
Date: Wed, 20 Apr 2005 20:52
Date: Wed, 20 Apr 2005 20:52
5 lines
1396 bytes
1396 bytes
Lori M Olson [TeamB] wrote: > String.substring() with String.lastIndexOf( File.separatorChar ) should work. Provided you handle the -1 case (no separator char)..
Technical Details
Message-ID:
<4266c0fb@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!pd7cy2so!shaw.ca!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!news-in.nuthinbutnews.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<4264bac7@newsgroups.borland.com> <4264cb03$1@newsgroups.borland.com> <4265179b@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: f74b3,9b8a0edae9b6ee0b X-Google-Attributes: gidf74b3,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Wed, 20 Apr 2005 13:52:08 -0700 From: Shankar Unni <shankarunni@netscape.net> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050317 Thunderbird/1.0.2 Mnenhy/0.7 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.jbuilder.java.language Subject: Re: How to split a String? References: <4264bac7@newsgroups.borland.com> <4264cb03$1@newsgroups.borland.com> <4265179b@newsgroups.borland.com> In-Reply-To: <4265179b@newsgroups.borland.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 68.120.146.125 Message-ID: <4266c0fb@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1114030331 68.120.146.125 (20 Apr 2005 13:52:11 -0800) Lines: 5 Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!pd7cy2so!shaw.ca!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!news-in.nuthinbutnews.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail