<?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 - change delimit in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-operation-change-delimit/m-p/7038157#M1500319</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; replace all occurrences of 'I' with space into.... in character mode....  That doesn't work??  Can't imagine why this is happening to you....  you're not doing anything else like shift or condense?&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SPACE represents an empty single-character constant (technically ' ') which has got an no length.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But ` ` represnts a string literal with space which is has got length as 1. Hence the difference with space &amp;amp; ` ` while using REPLACE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can read more about character v/s string literals on Rainer's blog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: I have no idea how CONCATENATE ... SEPARATED BY space works &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Jun 2010 02:16:58 GMT</pubDate>
    <dc:creator>SuhaSaha</dc:creator>
    <dc:date>2010-06-17T02:16:58Z</dc:date>
    <item>
      <title>String operation - change delimit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-operation-change-delimit/m-p/7038151#M1500313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a string which has a pipe delimited content like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;|TEST1    |TEST2          |TEST3 |&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to change the pipe delimited content to fixed width delimit. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any thoughts. Please let me know.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jun 2010 12:59:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string-operation-change-delimit/m-p/7038151#M1500313</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-16T12:59:07Z</dc:date>
    </item>
    <item>
      <title>Re: String operation - change delimit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-operation-change-delimit/m-p/7038152#M1500314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPLACE ALL OCCURENCES OF '|' IN STRING WITH SPACE.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With this the pipe was gone but all the contents moved to left by one char. In fact I wanted to replace the pipe with actual space. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any thoughts?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jun 2010 14:00:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string-operation-change-delimit/m-p/7038152#M1500314</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-16T14:00:22Z</dc:date>
    </item>
    <item>
      <title>Re: String operation - change delimit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-operation-change-delimit/m-p/7038153#M1500315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Replace all occurrences of '|' in lv_string with space.&lt;/P&gt;&lt;P&gt;condense lv_string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For more details check the f1 help of condense statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jun 2010 14:10:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string-operation-change-delimit/m-p/7038153#M1500315</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2010-06-16T14:10:46Z</dc:date>
    </item>
    <item>
      <title>Re: String operation - change delimit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-operation-change-delimit/m-p/7038154#M1500316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I do not think condense would help me as it takes out all the blank spaces.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is what I am trying to achieve. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;|TEXT1  |TEXT2     |&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the above string, once I do the replace with space, TEXT1 moves left to the first position (which is OK) but TEXT2 moves left by two spaces since it replaced two |. Instead for the secnod | and subsequent onces, the | should be replaced with actual space meaning in the above example, TEXT2 should move left by only one space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Experts please help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jun 2010 15:00:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string-operation-change-delimit/m-p/7038154#M1500316</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-16T15:00:52Z</dc:date>
    </item>
    <item>
      <title>Re: String operation - change delimit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-operation-change-delimit/m-p/7038155#M1500317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This will work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data:lv_string type string.
lv_string = '|TEST1    |TEST2          |TEST3 |'.
replace ALL OCCURRENCES OF '|' in lv_string with ` `.
shift lv_string left DELETING LEADING space.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jun 2010 15:57:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string-operation-change-delimit/m-p/7038155#M1500317</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2010-06-16T15:57:08Z</dc:date>
    </item>
    <item>
      <title>Re: String operation - change delimit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-operation-change-delimit/m-p/7038156#M1500318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;replace all occurrences of 'I' with space into.... in character mode....  That doesn't work??  Can't imagine why this is happening to you....  you're not doing anything else like shift or condense?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jun 2010 17:05:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string-operation-change-delimit/m-p/7038156#M1500318</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-16T17:05:38Z</dc:date>
    </item>
    <item>
      <title>Re: String operation - change delimit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-operation-change-delimit/m-p/7038157#M1500319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; replace all occurrences of 'I' with space into.... in character mode....  That doesn't work??  Can't imagine why this is happening to you....  you're not doing anything else like shift or condense?&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SPACE represents an empty single-character constant (technically ' ') which has got an no length.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But ` ` represnts a string literal with space which is has got length as 1. Hence the difference with space &amp;amp; ` ` while using REPLACE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can read more about character v/s string literals on Rainer's blog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: I have no idea how CONCATENATE ... SEPARATED BY space works &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jun 2010 02:16:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string-operation-change-delimit/m-p/7038157#M1500319</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2010-06-17T02:16:58Z</dc:date>
    </item>
  </channel>
</rss>

