<?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: Split String into two in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/split-string-into-two/m-p/3426598#M822907</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. SPLIT f AT g INTO h1 ... hn. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here you can split the string f in  to 2 parts h1 and h2 at delimeter g.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. SPLIT f AT g INTO TABLE itab. &lt;/P&gt;&lt;P&gt;you can even add it as directly into internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please reward if useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 24 Feb 2008 07:48:23 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-24T07:48:23Z</dc:date>
    <item>
      <title>Split String into two</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/split-string-into-two/m-p/3426597#M822906</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;How to Split String into two parts at delimiter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Feb 2008 07:11:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/split-string-into-two/m-p/3426597#M822906</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-24T07:11:11Z</dc:date>
    </item>
    <item>
      <title>Re: Split String into two</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/split-string-into-two/m-p/3426598#M822907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. SPLIT f AT g INTO h1 ... hn. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here you can split the string f in  to 2 parts h1 and h2 at delimeter g.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. SPLIT f AT g INTO TABLE itab. &lt;/P&gt;&lt;P&gt;you can even add it as directly into internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please reward if useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Feb 2008 07:48:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/split-string-into-two/m-p/3426598#M822907</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-24T07:48:23Z</dc:date>
    </item>
    <item>
      <title>Re: Split String into two</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/split-string-into-two/m-p/3426599#M822908</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;REPORT ZSTRING.&lt;/P&gt;&lt;P&gt;DATA: LENGTH TYPE I,     &lt;/P&gt;&lt;P&gt;      REMAINING_LENGTH TYPE I ,    &lt;/P&gt;&lt;P&gt;      NEXT_POINTER TYPE I    ,    &lt;/P&gt;&lt;P&gt;      FIRST_HALF(20)  TYPE C ,     &lt;/P&gt;&lt;P&gt;      SECOND_HALF(20) TYPE C ,     &lt;/P&gt;&lt;P&gt;      TEMP TYPE I .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETER: WORD(35) TYPE C . "INPUT WORD&lt;/P&gt;&lt;P&gt;START-OF-SELECTION. &lt;/P&gt;&lt;P&gt;LENGTH = STRLEN( WORD ).      "Length of the input String &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SEARCH WORD FOR '/'. &lt;/P&gt;&lt;P&gt;    IF SY-SUBRC = 0 .   &lt;/P&gt;&lt;P&gt;      IF SY-FDPOS &amp;gt; 0.    &lt;/P&gt;&lt;P&gt;      MOVE WORD+0(SY-FDPOS) TO FIRST_HALF.   &lt;/P&gt;&lt;P&gt;      ENDIF.   &lt;/P&gt;&lt;P&gt;   TEMP = SY-FDPOS + 1.  &lt;/P&gt;&lt;P&gt;   IF TEMP &amp;lt;&amp;gt; LENGTH.     &lt;/P&gt;&lt;P&gt;   NEXT_POINTER = SY-FDPOS + 1.     &lt;/P&gt;&lt;P&gt;   REMAINING_LENGTH = ( LENGTH - SY-FDPOS ) - 1.     &lt;/P&gt;&lt;P&gt;   MOVE WORD+NEXT_POINTER(REMAINING_LENGTH) TO SECOND_HALF.   &lt;/P&gt;&lt;P&gt;   ENDIF. &lt;/P&gt;&lt;P&gt; ENDIF. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE:/'Input String:', WORD . &lt;/P&gt;&lt;P&gt;WRITE:/'First  Half:', FIRST_HALF. &lt;/P&gt;&lt;P&gt;WRITE:/'Second Half:', SECOND_HALF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*-- End of Program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Reward Points if found helpfull..&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Cheers,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Chandra Sekhar.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Feb 2008 08:42:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/split-string-into-two/m-p/3426599#M822908</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-24T08:42:29Z</dc:date>
    </item>
  </channel>
</rss>

