views:

26

answers:

1

$variable =1;

How i can do it? I need insert variable 1 2 3 4 5 ... in @"Event" or @'Event'

+2  A: 

Stabbing in the dark here, but is this what you want?

int variable = 1;

NSString *str = [NSString stringWithFormat:@"Event%d", variable];
dreamlax