java - Is there a function that converts HTML to plaintext? -


is there "hocus-pocus" function, suitable android, converts html plaintext?

i referring function clipboard conversion operation found in browsers internet explorer, firefox, etc: if select rendered html inside browser , copy/paste text editor, receive (most of) text, without html tags or headers.

in similar thread, saw reference html2text it's in python. looking android/java function.

is there available or must myself, using jsoup or jtidy?

i'd try like:

string html = "<b>hola</b>"; string plain = html.fromhtml(html).tostring(); 

Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -