SORU
29 Mayıs 2009, Cuma


NSString karakterleri kaldırmak?

NSString *myString = @"A B C D E F G";

Yeni bir dize, yani boşluk kaldırmak istiyorum"". ABCDEFG

CEVAP
29 Mayıs 2009, Cuma


Kullanabilirsiniz:

NSString *stringWithoutSpaces = [myString 
   stringByReplacingOccurrencesOfString:@" " withString:@""];

Bunu Paylaş:
  • Google+
  • E-Posta
Etiketler:

YORUMLAR

SPONSOR VİDEO

Rastgele Yazarlar

  • Air_Fooj

    Air_Fooj

    24 NİSAN 2009
  • Marina and The Diamonds

    Marina and T

    8 Temmuz 2008
  • The Dubstep FX

    The Dubstep

    5 Mart 2011