• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How do I open a file with a name like: "Ogg/OpenAL"?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >How do I open a file with a name like: "Ogg/OpenAL"? (From: "Alan Smith" <email@hidden>)

  • Prev by Date: Re: NSConnection rootProxyForConnectionWithRegisteredName fails to find connection
  • Next by Date: priming data into CoreData
  • Previous by thread: How do I open a file with a name like: "Ogg/OpenAL"?
  • Next by thread: Re: How do I open a file with a name like: "Ogg/OpenAL"?
  • Index(es):
    • Date
    • Thread