Re: Cocoa-dev Digest, Vol 3, Issue 1339
Re: Cocoa-dev Digest, Vol 3, Issue 1339
- Subject: Re: Cocoa-dev Digest, Vol 3, Issue 1339
- From: Gonzalo Castro <email@hidden>
- Date: Fri, 10 Nov 2006 09:44:58 -0500
- Thread-topic: Cocoa-dev Digest, Vol 3, Issue 1339
Try this;
[[myStr componentsSeparatedByString:@" "] componentsJoinedByString:@"\\ "]
Gonzalo
On 11/10/06 9:27 AM, "email@hidden"
<email@hidden> wrote:
> ------------------------------
>
> Message: 7
> Date: Fri, 10 Nov 2006 09:00:56 +0000
> From: Trygve Inda <email@hidden>
> Subject: Convert path format?
> To: Cocoa-Dev Apple <email@hidden>
> Message-ID: <C179F048.46C09%email@hidden>
> Content-Type: text/plain; charset="US-ASCII"
>
> How can I convert the path returned by NSBundle bundlePath:
>
> /Volumes/HD/Proj 2.0 \u00b5/Gen.app/Contents/Resources/someFile
>
> To something that will work in terminal:
>
> /Volumes/HD/Proj\ 2.0\ \302\265/Gen.app/Contents/Resources/someFile
>
> Thanks,
>
> Trygve
>
_______________________________________________
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