title: Convert NSInlineData to Nstring in ios
body: <p>i am trying to get a substring from a parent string. parent string is mac address of device available in a dictionary. But when i try to convert it it si giving me error as below "[_NSInlineData substringFromIndex:]: unrecognized selector sent to instance".</p>
  
  <p>I just want to remove some of the chars from the parent string (here it is mac address like "&lt;0001ui3 234563>" ) and get "ui3 234563".</p>
  
  <pre><code>   // This is my nsdictionary.
    advertisementdata = {     kCBAdvDataIsConnectable = 1;     kCBAdvDataLocalName = "test123";     kCBAdvDataManufacturerData = &lt;00029r21 6y051rt2&gt;;     kCBAdvDataServiceUUIDs =     (         FFF0     );     kCBAdvDataTxPowerLevel = 0; }
  
   // I want 9r216y051rt from kCBAdvDataManufacturerData;
   NSString *str2;
  
  
   str2=[advertisementData objectForKey:@"kCBAdvDataManufacturerData"];
  
   NSString *str3;
   str3=[str2 substringFromIndex:5];
  
   // here I do not get the required 12 character string from str2 string.
  
   get NSInlinedata error for all NSString method.
  </code></pre>
  
  <p>Thanks,</p>