<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Remove HTML tags in text in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-html-tags-in-text/m-p/4619100#M1088224</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See if FM &lt;STRONG&gt;SOTR_TAGS_REMOVE_FROM_STRING&lt;/STRONG&gt; is what you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Oct 2008 16:31:05 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-23T16:31:05Z</dc:date>
    <item>
      <title>Remove HTML tags in text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-html-tags-in-text/m-p/4619097#M1088221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to read some text from a text editor, that can be formatted for example with Bold, which means that when I execute the function to read its content, it returns something like this:&lt;/P&gt;&lt;P&gt;".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know how can I remove these HTML tags from the text?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sónia Gonçalves&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2008 16:05:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-html-tags-in-text/m-p/4619097#M1088221</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-23T16:05:18Z</dc:date>
    </item>
    <item>
      <title>Re: Remove HTML tags in text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-html-tags-in-text/m-p/4619098#M1088222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something like this should do the trick.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;report  ztag.

data: v_data type char30 value '&amp;lt;H&amp;gt;blablabla&amp;lt;/H&amp;gt;'.

if v_data(1) = '&amp;lt;' and 
  v_data cs '&amp;gt;'.
* Remove the HTML opening header
  shift v_data left up to '&amp;gt;'.
  shift v_data left.
* Remove the HTML closing header
  shift v_data right up to '&amp;lt;'.
  shift v_data right.
  shift v_data left deleting leading space.
endif.

write: / v_data.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Darren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2008 16:25:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-html-tags-in-text/m-p/4619098#M1088222</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-23T16:25:21Z</dc:date>
    </item>
    <item>
      <title>Re: Remove HTML tags in text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-html-tags-in-text/m-p/4619099#M1088223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I discovered the function "CONVERT_ITF_TO_ASCII" that removes those characters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks anyway.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sónia Gonçalves&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2008 16:28:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-html-tags-in-text/m-p/4619099#M1088223</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-23T16:28:47Z</dc:date>
    </item>
    <item>
      <title>Re: Remove HTML tags in text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-html-tags-in-text/m-p/4619100#M1088224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See if FM &lt;STRONG&gt;SOTR_TAGS_REMOVE_FROM_STRING&lt;/STRONG&gt; is what you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2008 16:31:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-html-tags-in-text/m-p/4619100#M1088224</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-23T16:31:05Z</dc:date>
    </item>
  </channel>
</rss>

