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: John Stiles <email@hidden>
- Date: Mon, 21 Aug 2006 19:38:28 -0700
Where is the string coming from?
Unless the user is manually typing this in, you should get a colon
back from any path-handling API, so hopefully it will take care of
itself.
This is one of the reasons why a path and a display name aren't
always the same thing :) (Localized folder names is another reason.)
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?
Thanks, Alan
--
// Quotes from yours truly -------------------------
"You don't forget, you just don't remember."
"Maturity resides in the mind."
"Silence is the Universe's greatest gift."
"Don't waste your life doing things others have already done."
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40blizzard.com
This email sent to email@hidden
_______________________________________________
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