<?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: Replace String in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-string/m-p/5552609#M1267563</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Enough.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Apr 2009 16:52:33 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-04-16T16:52:33Z</dc:date>
    <item>
      <title>Replace String</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-string/m-p/5552604#M1267558</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;There are some string like these ;&lt;/P&gt;&lt;P&gt;aaa&lt;DEL&gt;-bbb&lt;/DEL&gt;--ccc&lt;/P&gt;&lt;P&gt;aa&lt;DEL&gt;bbbb&lt;/DEL&gt;---cc&lt;/P&gt;&lt;P&gt;aaaa&lt;DEL&gt;bb&lt;/DEL&gt;ccc&lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;P&gt;how can replace - or -- or ---or -&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt; or -&lt;/P&gt;&lt;HR originaltext="----" /&gt;&lt;P&gt; with one space? Could you send me the algorithm?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Munur&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2009 15:43:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-string/m-p/5552604#M1267558</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-16T15:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: Replace String</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-string/m-p/5552605#M1267559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Munur ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can use the command Replace all occurrences of.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let ur string be str = 'aa&lt;DEL&gt;bb&lt;/DEL&gt;-cc--'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPLACE ALL OCCURRENCES of  '-'  in str with space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This can solve ur problem.&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;Anuj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2009 15:50:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-string/m-p/5552605#M1267559</guid>
      <dc:creator>anuj_srivastava</dc:creator>
      <dc:date>2009-04-16T15:50:29Z</dc:date>
    </item>
    <item>
      <title>Re: Replace String</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-string/m-p/5552606#M1267560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use statement&lt;/P&gt;&lt;P&gt;Replace all occurence of '-' in &amp;lt;your field&amp;gt; with space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the above single statement gives you too many spaces use the following lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Replace all occurence of '----' in &amp;lt;your field&amp;gt; with space.&lt;/P&gt;&lt;P&gt;Replace all occurence of '---' in &amp;lt;your field&amp;gt; with space.&lt;/P&gt;&lt;P&gt;Replace all occurence of '--' in &amp;lt;your field&amp;gt; with space.&lt;/P&gt;&lt;P&gt;Replace all occurence of '-' in &amp;lt;your field&amp;gt; with space.&lt;/P&gt;&lt;P&gt;This will definitely serve your purpose.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lalit Mohan Gupta.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2009 16:03:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-string/m-p/5552606#M1267560</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-16T16:03:00Z</dc:date>
    </item>
    <item>
      <title>Re: Replace String</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-string/m-p/5552607#M1267561</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:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPLACE ALL OCCURRENCES OF '-' IN str WITH SPACE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and later, if you wish just ONE space,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONDENSE str.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2009 16:16:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-string/m-p/5552607#M1267561</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-16T16:16:29Z</dc:date>
    </item>
    <item>
      <title>Re: Replace String</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-string/m-p/5552608#M1267562</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 regular expressions for that:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPLACE ALL OCCURRENCES OF REGEX '-*' IN &amp;lt;your_string&amp;gt; WITH &amp;lt;replacement&amp;gt;.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will replace caracters '-', '&lt;DEL&gt;', '&lt;/DEL&gt;-', etc. in you string by the replacement string you specified.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tanguy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2009 16:37:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-string/m-p/5552608#M1267562</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-16T16:37:12Z</dc:date>
    </item>
    <item>
      <title>Re: Replace String</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-string/m-p/5552609#M1267563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Enough.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2009 16:52:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-string/m-p/5552609#M1267563</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-16T16:52:33Z</dc:date>
    </item>
  </channel>
</rss>

