Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Convert HTML to ANSI flat text

Former Member
0 Kudos
624

Hi All

I'm looking for a function or a method to convert and HTML string (string) into a text non-html text... does this function exist ?

Best regards

Jérôme

1 ACCEPTED SOLUTION

MarcinPciak
Active Contributor
0 Kudos
217

The string you have can be either dowloaded to a file with extension 'TXT' or with 'HTML' . There is no other difference. HTML is a flat file with different extension which makes the browser recognise its tags correctly.

So what is your real issue?

Regards

Marcin

5 REPLIES 5

MarcinPciak
Active Contributor
0 Kudos
218

The string you have can be either dowloaded to a file with extension 'TXT' or with 'HTML' . There is no other difference. HTML is a flat file with different extension which makes the browser recognise its tags correctly.

So what is your real issue?

Regards

Marcin

0 Kudos
217

Marci

I have a table which contents a field as a string which contents HTML...

so from a string "<<h2>>My Title<</H2>>

blablabla

' I would like to do a transformation to obtain a 'My Title blablabla' with all HTML tags deleted...

Is it clearer ?

Jerome

Edited by: Jérôme L Fortias on Jan 10, 2011 4:56 PM

0 Kudos
217

Try FM sotr_tags_remove_from_string

Rob

0 Kudos
217

excellent !! Thanks.

Former Member
0 Kudos
217

Hi,

can you check FM: 'HRCM_AMOUNT_TO_STRING_CONVERT'

Regards,

Sai