2

I have webservice response like this.

NSString *str= @"Slight <b>left</b> onto <b>Adelaide Rd/B509</b><div style="font-size:0.9em">Continue to follow Adelaide Rd</div>"; 

I have to convert html tags in the above str to plain text.Can u please suggest me solution for this.

0

1 Answer 1

1

You can use NSScanner class to parse the HTML.

Have a look at this post: How to convert NSString HTML markup to plain text NSString?

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

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.