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

  • Richard Laxa

    Richard Laxa

    30 AĞUSTOS 2012
  • The Slow Mo Guys

    The Slow Mo

    15 AĞUSTOS 2010
  • wwjoshdo

    wwjoshdo

    25 Mayıs 2009