<?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 Read a substring in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-a-substring/m-p/9920861#M1795063</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Developers ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am new to ABAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need a small help here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i would like to read the name of the attachment from a particular string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;xml name="test.doc" displayname="test.doc"'&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using, String manipulation,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to read only content inside the name attribute., which test.doc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used FIND , nevertheless, is there any way in ABAP to search from Start INDEX to END INDEX to read a substring esle, is there any other better way to do it in ABAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Vignesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Dec 2013 09:28:45 GMT</pubDate>
    <dc:creator>vigneshR1</dc:creator>
    <dc:date>2013-12-20T09:28:45Z</dc:date>
    <item>
      <title>Read a substring</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-a-substring/m-p/9920861#M1795063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Developers ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am new to ABAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need a small help here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i would like to read the name of the attachment from a particular string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;xml name="test.doc" displayname="test.doc"'&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using, String manipulation,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to read only content inside the name attribute., which test.doc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used FIND , nevertheless, is there any way in ABAP to search from Start INDEX to END INDEX to read a substring esle, is there any other better way to do it in ABAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Vignesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Dec 2013 09:28:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-a-substring/m-p/9920861#M1795063</guid>
      <dc:creator>vigneshR1</dc:creator>
      <dc:date>2013-12-20T09:28:45Z</dc:date>
    </item>
    <item>
      <title>Re: Read a substring</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-a-substring/m-p/9920862#M1795064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vignesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This would be my solution, to split the string at the " character.&lt;/P&gt;&lt;P&gt;Then you recover the data from table using index.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;DATA&lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;lt_str &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;STANDARD &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TABLE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;OF &lt;/SPAN&gt;string&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt; l_str_xml &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'&amp;lt;xml name="test.doc" displayname="test.doc"&amp;gt;'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;SPAN class="L0S52"&gt;SPLIT &lt;/SPAN&gt;l_str_xml &lt;SPAN class="L0S52"&gt;AT &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'"' &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;INTO &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TABLE &lt;/SPAN&gt;lt_str&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;Hope it helps,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;If you want to know more about splitting strings, check the following link:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt; &lt;A href="http://wiki.scn.sap.com/wiki/display/ABAP/String+Processing" title="http://wiki.scn.sap.com/wiki/display/ABAP/String+Processing"&gt;String Processing - ABAP Development - SCN Wiki&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;regards&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Dec 2013 09:41:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-a-substring/m-p/9920862#M1795064</guid>
      <dc:creator>bernat_loscos</dc:creator>
      <dc:date>2013-12-20T09:41:08Z</dc:date>
    </item>
    <item>
      <title>Re: Read a substring</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-a-substring/m-p/9920863#M1795065</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;Try following link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.sap.com/abapdocu_70/en/ABENREGEX_SYNTAX.htm" title="https://help.sap.com/abapdocu_70/en/ABENREGEX_SYNTAX.htm"&gt;https://help.sap.com/abapdocu_70/en/ABENREGEX_SYNTAX.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Avirat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Dec 2013 09:49:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-a-substring/m-p/9920863#M1795065</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-12-20T09:49:08Z</dc:date>
    </item>
  </channel>
</rss>

