iOS SDK Tips
[Home Page]
;
[index]
;
Deleting Whitespace Sharacters in NSString
NSString
*cleanString=[
currentString
stringByTrimmingCharactersInSet
:[
NSCharacterSet
whitespaceAndNewlineCharacterSet
]];
//converts @"ab cd \n ssd" to @"abcdssd"
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment