0

i have string like: "YouTube - ‪VID 0001‬‏" and i want the string like : YouTube - VID 0001 that means i want to remove the unicodes.

is there a way to remove unicodes like ‪ in iphone apps, if so please help me.

2 Answers 2

1

Does this similar question and solution solve your problem?

I'd also recommend heeding the advice given in the comments on the linked question and making sure that you have a valid reason for not wanting unicode.

Sign up to request clarification or add additional context in comments.

Comments

0

Try this if you just want to remove the quotes (")

NSString *urString = @"\"YouTube - VID 0001‏\"";
NSString *formattedString = [urString stringByReplacingOccurrencesOfString:@"\"" withString:@""];

1 Comment

not quotes...i have unicode like ‪ ‬ ‏ in the string how can i remove these.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.