Top "Nsstring" questions

NSString is the plain-text character-string class in Cocoa and Cocoa Touch.

Print NSString Argument using NSLog

-(void) postToDB:(NSString*) msg{ //print msg NSString *myphp = @"/Applications/MAMP/htdocs/databases/test.php"; NSURL *url = [NSURL URLWithString:myphp]; …

iphone xcode nsstring nslog
Objective-C: Find numbers in string

I have a string that contains words as well as a number. How can I extract that number from the …

iphone objective-c ios nsstring nsnumber
Position of a character in a NSString or NSMutableString

I have searched for hours now and haven't found a solution for my problem. I have a NSString which looks …

objective-c nsstring replace nsmutablestring
How i can convert NSString to long value?

I have one value 100023 and I have taken it in NSString. Now I want to pass this value in my …

objective-c nsstring long-integer
Objective c: Check if integer/int/number

In objective c, how can i check if a string/NSNumber is an integer or int

objective-c variables nsstring int nsnumber
cast NSString! to String in swift

I have a instance variable name in String var name: String My class implements the NSCoding protocol. So for name …

string casting swift nsstring nscoding
How do I remove leading & trailing whitespace of NSString inside an NSArray?

I have an NSArray declared as such: @property (nonatomic, strong) NSArray *arrayRefineSubjectCode; I have the array elements manually filled out …

iphone objective-c nsstring nsarray
Number of Occurrences of a Character in NSString

I have an NSString or NSMutableString and would like to get the number of occurrences of a particular character. I …

string cocoa cocoa-touch nsstring character
casting NSInteger into NSString

I'm trying to make one string out of several different parts. This below is what i have right now. I …

objective-c ios nsstring string-formatting nsinteger
Best way to split strings into an array

I'm developing a travel app, I have to read a txt file that contains all the states and countries, as …

arrays nsstring split token nsscanner