I have created a string that depends on what the user inputs into the textfield:
NSString *book = [[NSString alloc] initWithFormat:@"%@%@", bookTitle.text, afterbook];
Then this string is part of a bigger string:
NSString *msg = [[NSString alloc] initWithFormat:@"%@%@%@%@%@%@%@%@%@%@%@%@%@%@", lastname,
firstname, secondfirstname, secondlastname, thirdfirstname, thirdlastname, book, numb, volume, pubcity, pubcomp, year, pages, print];
I want to format the NSString *book so that it is italics. I don't care about displaying it on the view, but I do want to be able to copy this to the clipboard so I can paste it to a program like Pages on the iPad.