---
title: "How to convert return value of ABMuliValueCopyLabelAtIndex into NSString in iOS"  
description: "How to convert return value of ABMuliValueCopyLabelAtIndex into NSString in iOS"  
author: "Anonymous User"  
published: 2015-12-02  
updated: 2015-12-05  
canonical: https://www.mindstick.com/forum/33675/how-to-convert-return-value-of-abmulivaluecopylabelatindex-into-nsstring-in-ios  
category: "iphone"  
tags: ["iphone", "ios", "objective c"]  
reading_time: 1 minute  

---

# How to convert return value of ABMuliValueCopyLabelAtIndex into NSString in iOS

I have a [problem](https://yourviews.mindstick.com/view/81399/tackling-the-problem-of-unemployment-during-corona-pandemic) in with my contact type in [iOS](https://www.mindstick.com/articles/12222/core-data-and-how-to-use-it-in-ios-objective-c), I have successfully [fetch](https://www.mindstick.com/forum/156159/what-is-google-fetch) [phone](https://www.mindstick.com/articles/23411/the-most-effective-method-to-find-the-perfect-small-business-phone-system-for-your-business) number type like work, [mobile](https://www.mindstick.com/articles/310668/reasons-why-you-should-choose-custom-mobile-app-development-for-your-business), [home](https://www.mindstick.com/articles/126322/how-to-keep-your-home-safe-while-traveling), etc. using this [code](https://yourviews.mindstick.com/view/85458/alan-turing-the-mastermind-behind-cracking-the-enigma-code-during-world-war-ii):\

```
NSString *cellT = (__bridge NSString*) ABMultiValueCopyLabelAtIndex(numbersArr, j);NSLog(@"Contact Type: %@", cellT);
```

this code will [print](https://www.mindstick.com/blog/301752/types-of-3d-printing-technology):\
_$!<Work>!$_\
\
But I want only Work to display, how can I do this?\

## Replies

### Reply by Tarun Kumar

Use this ABAddressBookCopyLocalizedLabel at the time of type casting; to ignore _ $ ! these type of unnecessary scientific characters:\
change your code by this code:

```
NSString *cellT = (__bridge NSString*) ABAddressBookCopyLocalizedLabel ( ABMultiValueCopyLabelAtIndex(numbersArr, j));
```


---

Original Source: https://www.mindstick.com/forum/33675/how-to-convert-return-value-of-abmulivaluecopylabelatindex-into-nsstring-in-ios

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
