M mfhaque Registered Nov 4, 2001 #1 if i had a mutable string called myString and using the method appendFormat. how do i add quotes to the string that is bein added. for instance, [myString appendFormat"%@",[textBody string]]; i want to add quotes around what ever is put in.
if i had a mutable string called myString and using the method appendFormat. how do i add quotes to the string that is bein added. for instance, [myString appendFormat"%@",[textBody string]]; i want to add quotes around what ever is put in.
B blb `' Nov 4, 2001 #2 It just needs to be escaped with a backslash; using your code: Code: [myString appendFormat:@"\"%@\"",[textBody string]]; would put quotes around the result from textBody's string message.
It just needs to be escaped with a backslash; using your code: Code: [myString appendFormat:@"\"%@\"",[textBody string]]; would put quotes around the result from textBody's string message.