<?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 operation in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-operation/m-p/4634097#M1091216</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;&lt;/P&gt;&lt;P&gt;You can use the SPLIT at statement.&lt;/P&gt;&lt;P&gt;Since your delimiter is '_'... you can say&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Split w_word at c_under into w_word1 w_word2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pramod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Oct 2008 05:31:02 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-13T05:31:02Z</dc:date>
    <item>
      <title>String operation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-operation/m-p/4634094#M1091213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;I wan to split one word from a character occurring inside the word. For example , I want to split the following word from '_'   .  'PROPERT_METH'   . i.e, into PROPERTY , METH.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i do this.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Brij...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2008 05:27:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string-operation/m-p/4634094#M1091213</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-13T05:27:07Z</dc:date>
    </item>
    <item>
      <title>Re: String operation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-operation/m-p/4634095#M1091214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Use STRING_SPLIT function module&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Madhan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2008 05:28:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string-operation/m-p/4634095#M1091214</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-13T05:28:55Z</dc:date>
    </item>
    <item>
      <title>Re: String operation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-operation/m-p/4634096#M1091215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Soni&lt;/P&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA: str1 TYPE string, 
      str2 TYPE string, 
      str3 TYPE string, 
      itab TYPE TABLE OF string, 
      text TYPE string. 

text = `What a drag it is getting old`. 

SPLIT text AT space INTO: str1 str2 str3, 
                          TABLE itab. 
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2008 05:30:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string-operation/m-p/4634096#M1091215</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-13T05:30:16Z</dc:date>
    </item>
    <item>
      <title>Re: String operation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-operation/m-p/4634097#M1091216</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;&lt;/P&gt;&lt;P&gt;You can use the SPLIT at statement.&lt;/P&gt;&lt;P&gt;Since your delimiter is '_'... you can say&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Split w_word at c_under into w_word1 w_word2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pramod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2008 05:31:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string-operation/m-p/4634097#M1091216</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-13T05:31:02Z</dc:date>
    </item>
    <item>
      <title>Re: String operation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-operation/m-p/4634098#M1091217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SPLIT str AT '-' INTO TABLE str1 str2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where str is input string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aparna.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2008 05:32:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string-operation/m-p/4634098#M1091217</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-13T05:32:36Z</dc:date>
    </item>
    <item>
      <title>Re: String operation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-operation/m-p/4634099#M1091218</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;You can use anyone of the below syntaxes:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Split &amp;lt;variable&amp;gt; at '_' into var1 var2 ... var.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Split &amp;lt;variable&amp;gt; at '_' into itab.&lt;/P&gt;&lt;P&gt;(where itab is like:&lt;/P&gt;&lt;P&gt;data: begin of wa,&lt;/P&gt;&lt;P&gt;          var(255),&lt;/P&gt;&lt;P&gt;       end of wa.&lt;/P&gt;&lt;P&gt;data: itab like standard table of wa with header line.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I consider 2nd option to be best.&lt;/P&gt;&lt;P&gt;ITAB contains all the splitted variables as diff records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Navneeth K.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2008 05:35:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string-operation/m-p/4634099#M1091218</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-13T05:35:00Z</dc:date>
    </item>
    <item>
      <title>Re: String operation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-operation/m-p/4634100#M1091219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;look at this sample code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: text(255).&lt;/P&gt;&lt;P&gt;data: v_x.&lt;/P&gt;&lt;P&gt;text = 'AA,17,2/19/2003,"9,999.00",USD,00,10,318,"193,275.31"'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do.&lt;/P&gt;&lt;P&gt;v_x = ' '.&lt;/P&gt;&lt;P&gt;search text for '"' and mark.&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;replace first OCCURRENCE OF '"' in section offset sy-fdpos of text with&lt;/P&gt;&lt;P&gt;''.&lt;/P&gt;&lt;P&gt;replace first OCCURRENCE OF ',' in section offset sy-fdpos of text with&lt;/P&gt;&lt;P&gt;''.&lt;/P&gt;&lt;P&gt;replace first OCCURRENCE OF '",' in section offset sy-fdpos of text with&lt;/P&gt;&lt;P&gt;','.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;v_x = 'X'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;if v_x = ' '.&lt;/P&gt;&lt;P&gt;exit.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;enddo.&lt;/P&gt;&lt;P&gt;write:/ text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regads&lt;/P&gt;&lt;P&gt;satish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2008 05:35:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string-operation/m-p/4634100#M1091219</guid>
      <dc:creator>satsrockford</dc:creator>
      <dc:date>2008-10-13T05:35:11Z</dc:date>
    </item>
  </channel>
</rss>

