concatenate two string

Discussion in 'iOS Programming' started by bobisa, Nov 9, 2010.

  1. bobisa macrumors newbie

    Nov 8, 2010
    i got the following code

    NSString *urlAddress = @"";

    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

  2. dejo Moderator


    Staff Member

    Sep 2, 2004
    The Centennial State
    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:

Share This Page