help with strings

Discussion in 'Mac Programming' started by italiano40, Jul 23, 2008.

  1. italiano40 macrumors 65816

    italiano40

    Joined:
    Oct 7, 2007
    Location:
    NY
    #1
    ok, i want to add a variable into my string and i do
    Code:
    int i=23;
    NSString *f=@"what is $i";
    
    what am i doing wrong
     
  2. lee1210 macrumors 68040

    lee1210

    Joined:
    Jan 10, 2005
    Location:
    Dallas, TX
    #2

Share This Page