简体   繁体   中英

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.

NSString *stringToExtract = [arrayToExtractFrom objectAtIndex:0];

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM