Re: Launch Email or Browser
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.