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: 
Read only

Convert HTML to ANSI flat text

Former Member
0 Likes
1,435

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
Read only

MarcinPciak
Active Contributor
0 Likes
1,028

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
Read only

MarcinPciak
Active Contributor
0 Likes
1,029

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

Read only

0 Likes
1,028

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

Read only

0 Likes
1,028

Try FM sotr_tags_remove_from_string

Rob

Read only

0 Likes
1,028

excellent !! Thanks.

Read only

Former Member
0 Likes
1,028

Hi,

can you check FM: 'HRCM_AMOUNT_TO_STRING_CONVERT'

Regards,

Sai