Article View: borland.public.jbuilder.java.language
Article #500Re: How to split a String?
From: csicentury
Date: Thu, 21 Apr 2005 00:03
Date: Thu, 21 Apr 2005 00:03
11 lines
1340 bytes
1340 bytes
Thanks Century "Shankar Unni" <shankarunni@netscape.net> ??????:4266c0fb@newsgroups.borland.com... > 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:
<4266ec88@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!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> <4266c0fb@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 From: "csicentury" <csicentury@yahoo.com.cn> Newsgroups: borland.public.jbuilder.java.language References: <4264bac7@newsgroups.borland.com> <4264cb03$1@newsgroups.borland.com> <4265179b@newsgroups.borland.com> <4266c0fb@newsgroups.borland.com> Subject: Re: How to split a String? Date: Thu, 21 Apr 2005 08:03:46 +0800 Lines: 13 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 NNTP-Posting-Host: 218.64.50.7 Message-ID: <4266ec88@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1114041480 218.64.50.7 (20 Apr 2005 16:58:00 -0800) 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!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail