How can I remove all dollar($) symbols from my NSString?
amountDataArray =
[[NSMutableArray alloc]
initWithObjects:@"$ 10", @"$ 20", @"$ 30", @"$ 40", @"$ 50", @"$ 60", nil];
I am showing displaying string in UILabel
:
confirm.balanceStr = self.amountLbl.text;
I am also setting amountLbl.text
to confirm.balanceStr
, but I don't want '$' in my string.
I want to show only amount like 20, 30 , 40 but not with the dollar, like $10, $20,