• 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: Launch Email or Browser
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Launch Email or Browser


  • Subject: Re: Launch Email or Browser
  • From: Dan Crevier <email@hidden>
  • Date: Fri, 17 May 2002 19:47:23 -0700

On 5/17/2002 3:09 PM, "John Nairn" <email@hidden> wrote:

> myMsg=[[NSMutableString alloc] initWithString:[myProduct theMsg]];
> [self replaceString:@":" withString:@":" inString:myMsg];
> [self replaceString:@"/" withString:@"/" inString:myMsg];
> [self replaceString:@"@" withString:@"@" inString:myMsg];
> [self replaceString:@"#" withString:@"#" inString:myMsg];
> [self replaceString:@";" withString:@";" inString:myMsg];
> [self replaceString:@"%" withString:@"%" inString:myMsg];
> [self replaceString:@" " withString:@" " inString:myMsg];
> [self replaceString:@"\n" withString:@" " inString:myMsg];

I think you need your line that replaces % at the top. Otherwise, if you
replace :, /, @, #, or ;, the % used in escaping will get escaped again.

Dan
_______________________________________________
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.

References: 
 >Re: Launch Email or Browser (From: John Nairn <email@hidden>)

  • Prev by Date: QuickTime, Cocoa & Documentation
  • Next by Date: NSOutlineView setIndentationPerLevel
  • Previous by thread: Re(2): Launch Email or Browser
  • Next by thread: Re: Launch Email or Browser
  • Index(es):
    • Date
    • Thread