<?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: String Functions in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-functions/m-p/4534068#M1071383</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example &lt;/P&gt;&lt;P&gt;: Search for all occurrences of the string "now" in a string literal. The offsets 11 and 24 of both found locations are displayed as output. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: patt       TYPE string VALUE `now`, &lt;/P&gt;&lt;P&gt;      text       TYPE string, &lt;/P&gt;&lt;P&gt;      result_tab TYPE match_result_tab. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELD-SYMBOLS &amp;lt;match&amp;gt; LIKE LINE OF result_tab. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIND ALL OCCURRENCES OF patt IN &lt;/P&gt;&lt;P&gt;     `Everybody knows this is nowhere` &lt;/P&gt;&lt;P&gt;     RESULTS result_tab. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT result_tab ASSIGNING &amp;lt;match&amp;gt;. &lt;/P&gt;&lt;P&gt;  WRITE: / &amp;lt;match&amp;gt;-offset, &amp;lt;match&amp;gt;-length. &lt;/P&gt;&lt;P&gt;ENDLOOP. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Oct 2008 13:37:51 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-01T13:37:51Z</dc:date>
    <item>
      <title>String Functions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-functions/m-p/4534067#M1071382</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 a string that contain/s &amp;amp;text&amp;amp;, text can be anything.&lt;/P&gt;&lt;P&gt;I want to extract all such text in the string.&lt;/P&gt;&lt;P&gt;How can i achieve this, please help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;piyush&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2008 13:35:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string-functions/m-p/4534067#M1071382</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-01T13:35:16Z</dc:date>
    </item>
    <item>
      <title>Re: String Functions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-functions/m-p/4534068#M1071383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example &lt;/P&gt;&lt;P&gt;: Search for all occurrences of the string "now" in a string literal. The offsets 11 and 24 of both found locations are displayed as output. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: patt       TYPE string VALUE `now`, &lt;/P&gt;&lt;P&gt;      text       TYPE string, &lt;/P&gt;&lt;P&gt;      result_tab TYPE match_result_tab. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELD-SYMBOLS &amp;lt;match&amp;gt; LIKE LINE OF result_tab. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIND ALL OCCURRENCES OF patt IN &lt;/P&gt;&lt;P&gt;     `Everybody knows this is nowhere` &lt;/P&gt;&lt;P&gt;     RESULTS result_tab. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT result_tab ASSIGNING &amp;lt;match&amp;gt;. &lt;/P&gt;&lt;P&gt;  WRITE: / &amp;lt;match&amp;gt;-offset, &amp;lt;match&amp;gt;-length. &lt;/P&gt;&lt;P&gt;ENDLOOP. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2008 13:37:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string-functions/m-p/4534068#M1071383</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-01T13:37:51Z</dc:date>
    </item>
  </channel>
</rss>

