tags:

views:

78

answers:

2

Possible Duplicate:
How do I concatenate strings in Objective-C?

I have this:

[NSURL URLWithString: @"http://myurlc.co.uk/?no="]]

I basically want to do this:

[NSURL URLWithString: @"http://myurlc.co.uk/?no=" & tmpString]]

How would I do that in Objective-C?

+1  A: 
[@"http://myurlc.co.uk/?no=" stringByAppendingString: tmpString]
Paul Alexander
A: 

Look at http://stackoverflow.com/questions/510269/how-do-i-concatenate-strings-in-objective-c

Noel M
Use comments to point out duplicates, especially if you don't add any content of your own.
Georg Fritzsche