<?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: Splitting a string in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/splitting-a-string/m-p/6645443#M1444096</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Got it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;used "REPLACE"  to put the delimiter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 07 Feb 2010 13:45:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-02-07T13:45:07Z</dc:date>
    <item>
      <title>Splitting a string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/splitting-a-string/m-p/6645439#M1444092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a string as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: d(20) TYPE c,&lt;/P&gt;&lt;P&gt;      d1 type string.	&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; d = 'xy10007101'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to get xy, 1000 and 7101 as seperate strings.Tried as follows but gives an error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; d1 = d - d(2).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to get them seperately.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also If i have declared 'xy10007101' as a string and If I wanted to use the "split" function ,how can I put a delimiter say ',' into the string and then later call the split function....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;P&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Feb 2010 13:03:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/splitting-a-string/m-p/6645439#M1444092</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-07T13:03:49Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting a string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/splitting-a-string/m-p/6645440#M1444093</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;Click F1 on the word &lt;STRONG&gt;SPLIT&lt;/STRONG&gt;. You will get the answer with many more examples.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinod.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Feb 2010 13:07:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/splitting-a-string/m-p/6645440#M1444093</guid>
      <dc:creator>vinod_vemuru2</dc:creator>
      <dc:date>2010-02-07T13:07:14Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting a string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/splitting-a-string/m-p/6645441#M1444094</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;this is very simple...instead of using the '-' sign use the '+' sign like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: d(20) TYPE c,&lt;/P&gt;&lt;P&gt;d1 type string. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;d = 'xy10007101'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to get xy, 1000 and 7101 as seperate strings.Tried as follows but gives an error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;DEL&gt;d1 = d - d(2).&lt;/DEL&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;d1 = d+0(2).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;d2 = d+2(4).&lt;/P&gt;&lt;P&gt;d3 = d+6(4),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;all the d1,d2,d3 are c type with the desired legth.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Split.....press f1 you'll get the result...else use SPLIT d at ',' into d1 d2 d3 d4 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will solve you problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pooja&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Pooja Gupta on Feb 7, 2010 2:13 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Feb 2010 13:13:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/splitting-a-string/m-p/6645441#M1444094</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-07T13:13:18Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting a string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/splitting-a-string/m-p/6645442#M1444095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks pooja,1 more question&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;else use SPLIT d at ',' into d1 d2 d3 d4 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But in my string  I dont have the "," delimiter.So I have to put this delmiter to my string right?&lt;/P&gt;&lt;P&gt;How will I put it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Feb 2010 13:22:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/splitting-a-string/m-p/6645442#M1444095</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-07T13:22:36Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting a string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/splitting-a-string/m-p/6645443#M1444096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Got it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;used "REPLACE"  to put the delimiter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Feb 2010 13:45:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/splitting-a-string/m-p/6645443#M1444096</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-07T13:45:07Z</dc:date>
    </item>
  </channel>
</rss>

