1
我有一个字符串,这种价值/finocchi$FINOCCHamelo
现在我需要只有这部分词的FINOCCHamelo
我已经尝试这种新的字符串:
NSString * newString = [item.label stringByReplacingOccurrencesOfString:@"$" withString:@""];
但它不正确,因为改变$与空白字符。我需要过滤字符串$ 我该怎么办?