Use Reguler Expression like this,
NSString *str =@"000034234247236000049327428900000";
NSRange range = [str rangeOfString:@"^0*" options:NSRegularExpressionSearch];
str= [str stringByReplacingCharactersInRange:range withString:@""];
NSLog(@"str %@",str);
O/P:-str 34234247236000049327428900000
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…