What's an "extension"? Oh, you mean the Windows-specific concept of a portion of the file name that is separated from the rest of the file name by a dot. But what if there are two dots? Or three? Or none?
On Sep 3, 12:31 pm, Allen <[email protected]> wrote: > Is there any method in io package? > > On Sat, Sep 4, 2010 at 1:15 AM, Pedro Teixeira > <[email protected]>wrote: > > > > > hi there.. > > > I have a file path to the SD card on a String.. like this : /sdcard/ > > download/recentPic.jpg > > > And I'd like to get just the filename and extension recentPic.jpg > > > Is there any simple way to do this ? > > > Thank you > > > -- > > You received this message because you are subscribed to the Google > > Groups "Android Developers" group. > > To post to this group, send email to [email protected] > > To unsubscribe from this group, send email to > > [email protected]<android-developers%[email protected]> > > For more options, visit this group at > >http://groups.google.com/group/android-developers?hl=en > > -- > -hUaLOng -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

