次の NSString があります。
"This is a test String
*This a test string"
「*」を次のようなリターンに置き換えたい
"This is a test string
This is a test string"
私は試した:
[removeStr stringByReplacingOccurrencesOfString:@"*" withString:@"/r"];
しかし、それは「/r」を出力し、「\r」を試みるとlldbエラーが発生します
何か助けはありますか?