Re: How do I open a file with a name like: "Ogg/OpenAL"?
Re: How do I open a file with a name like: "Ogg/OpenAL"?
- Subject: Re: How do I open a file with a name like: "Ogg/OpenAL"?
- From: Shawn Erickson <email@hidden>
- Date: Mon, 21 Aug 2006 19:54:40 -0700
On Aug 21, 2006, at 7:22 PM, Alan Smith wrote:
I have a major porblem. The problem:
I have no idea how to open a file with a name like "Ogg/OpenAL." When
I use Terminal to look at it, it is shown as "Ogg:OpenAL," So, fine,
all I have to do is check for a slash in the name and change that to a
colon. Hopefully that will do it but, what is the fastest way to
replace a character in a string?
I bet if you use -[NSString fileSystemRepresentation] it will do the
right thing for you.
-Shawn
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden