objective c - How to put quote in a string? -
this question has reply here:
how can write " in nsstring? 5 answersi newer in ios. question how string coming email set in double quotes ""?
nsstring* messagestring = [nsstring stringwithformat: @"%@ not apppear valid email address.do want sent anyway?", email]; uialertview *alertview =[[uialertview alloc]initwithtitle:@"invalid adress" message:messagestring delegate:self cancelbuttontitle:@"cancel" otherbuttontitles:@"ok", nil]; [alertview show]; break;
use code
nsstring* messagestring = [nsstring stringwithformat: @"\"%@\" not appear valid email address.do want sent anyway?", email];
objective-c nsstring
No comments:
Post a Comment