Get String Value from NSDictionary
        Posted  
        
            by Matt S.
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Matt S.
        
        
        
        Published on 2010-05-15T18:38:04Z
        Indexed on 
            2010/05/15
            18:44 UTC
        
        
        Read the original article
        Hit count: 260
        
I have the following code:
NSMutableDictionary *jsonObj = [parser objectWithString:json_string error:nil];
NSString *test = [[[jsonObj objectForKey:@"questions"] valueForKey:@"owner"] valueForKey:key];
but what I get back is:
 (
1a19f089a2bc4ee42bff1c102c6e89b8
)
The actual value is fine, but I get those parenthesis, which show up in my string. How can I get rid of them?
© Stack Overflow or respective owner