Pooja
Pooja

Reputation: 2200

copy NSMutableArray atIndex (0) to string variable

i have an array and i want to extract value of array at specific index like:

NSString Val1 = Array1[index1];

array is NSMutableArray.

Upvotes: 0

Views: 147

Answers (1)

knuku
knuku

Reputation: 6102

NSString *stringToExtract = [arrayToExtractFrom objectAtIndex:0];

Upvotes: 5

Related Questions