Converting File URL Scheme Path to filesystem representation string

2010-07-28 Thread JanakiRam Palepu
** Hi folks, I've been trying to extract NSString from a URL like string , as specified below. Input String: *file://localhost/Users/admin/Music/iTunes/* I've tried couple of options. 1. Created a NSURL from the string and extracting the string with absoluteString method. 2. Manually

Re: Converting File URL Scheme Path to filesystem representation string

2010-07-28 Thread Dave DeLong
I generally use NSURL's -path method. If you then need the resulting string as a char*, then you can use -[NSString fileSystemRepresentation] Dave On Jul 28, 2010, at 12:39 PM, JanakiRam Palepu wrote: ** Hi folks, I've been trying to extract NSString from a URL like string , as