• 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: Escaping spaces in paths
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Escaping spaces in paths


  • Subject: Re: Escaping spaces in paths
  • From: Ondra Cada <email@hidden>
  • Date: Tue, 25 Jun 2002 13:48:51 +0200

On Tuesday, June 25, 2002, at 07:35 , Jose L. Hales-Garcia wrote:

s=[[s componentsSeparatedByString:@"!"] componentsJoinedByString:@"\\!"]

Thank you. I encountered a bug with the handling of the backslash though
(see below). It would be great for my work if Apple fixed it soon.

So far as I know, there's no bug, just that NSLog is not a *print* method,
but a *debug* method, and therefore it happily shows escapes by a kinda haphazard way, presumed to be the most readable one in console. In the actual string, though, all should be all right (do check yourself, eg. using characterAtIndex:).
---
Ondra Cada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
  • Follow-Ups:
    • Re: Escaping spaces in paths
      • From: "Jose L. Hales-Garcia" <email@hidden>
References: 
 >Re: Escaping spaces in paths (From: "Jose L. Hales-Garcia" <email@hidden>)

  • Prev by Date: Re: Mutable class problems
  • Next by Date: Need Help w/ NSWindow and NSMovieView...
  • Previous by thread: Re: Escaping spaces in paths
  • Next by thread: Re: Escaping spaces in paths
  • Index(es):
    • Date
    • Thread