Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

bobisa

macrumors newbie
Original poster
i got the following code

NSString *urlAddress = @"http://mysite.com/status.awp?P1=";

and i want to the value of txt_number to the urlAddress

how can i do that

i know in c is
urladdress = urladress + txt_number.text

thanks
 
Alright, seems you're not as far ahead as I hoped. So, I need to stress that you take my advice from my previous post to you in another thread (step back; learn the basics). What you're asking is fairly common and covered in most "intros" to Objective-C when they begin to cover string handling.

Also, please make sure to search for previous threads on your concern before starting a new one. Here's a just a couple of existing threads on this topic:
https://forums.macrumors.com/threads/912585/
https://forums.macrumors.com/threads/637512/
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.