<?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: remove character from a string in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-character-from-a-string/m-p/4440153#M1053534</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA FIELD(10).
MOVE 'ABCBB' TO FIELD.
REPLACE 'BB' WITH ' ' INTO field.
CONDENSE field.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Sep 2008 09:49:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-09-03T09:49:50Z</dc:date>
    <item>
      <title>remove character from a string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-character-from-a-string/m-p/4440151#M1053532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;wats the command to remove characters in a string?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to remove 'bb' from a string&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2008 09:41:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-character-from-a-string/m-p/4440151#M1053532</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-03T09:41:45Z</dc:date>
    </item>
    <item>
      <title>Re: remove character from a string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-character-from-a-string/m-p/4440152#M1053533</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 try the REPLACE statement. There will be a space in the string instead of 'bb', which you can delete with CONDENSE ... NO-GAPS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;ec&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2008 09:43:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-character-from-a-string/m-p/4440152#M1053533</guid>
      <dc:creator>JozsefSzikszai</dc:creator>
      <dc:date>2008-09-03T09:43:40Z</dc:date>
    </item>
    <item>
      <title>Re: remove character from a string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-character-from-a-string/m-p/4440153#M1053534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA FIELD(10).
MOVE 'ABCBB' TO FIELD.
REPLACE 'BB' WITH ' ' INTO field.
CONDENSE field.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2008 09:49:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-character-from-a-string/m-p/4440153#M1053534</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-03T09:49:50Z</dc:date>
    </item>
    <item>
      <title>Re: remove character from a string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-character-from-a-string/m-p/4440154#M1053535</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;PRE&gt;&lt;CODE&gt;
DATA lv_field(5).
MOVE 'CCCBB' TO lv_field.
SEARCH lv_field FOR 'BB'.
IF sy-subrc = 0.
  REPLACE 'BB' WITH ' ' INTO lv_field.
  CONDENSE lv_field.
  WRITE lv_field.
ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2008 10:05:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-character-from-a-string/m-p/4440154#M1053535</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-03T10:05:34Z</dc:date>
    </item>
    <item>
      <title>Re: remove character from a string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-character-from-a-string/m-p/4440155#M1053536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are replacing bb by '  ' there will be a gap, but why dont you replace it by ''?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2008 10:06:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-character-from-a-string/m-p/4440155#M1053536</guid>
      <dc:creator>rainer_hbenthal</dc:creator>
      <dc:date>2008-09-03T10:06:56Z</dc:date>
    </item>
    <item>
      <title>Re: remove character from a string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-character-from-a-string/m-p/4440156#M1053537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please do not double-post or cross-post your questions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We typically delete all the questions when this is found.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Julius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2008 10:20:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-character-from-a-string/m-p/4440156#M1053537</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-03T10:20:21Z</dc:date>
    </item>
    <item>
      <title>Re: remove character from a string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-character-from-a-string/m-p/4440157#M1053538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;just checked:&lt;/P&gt;&lt;P&gt;DATA : text(10) TYPE c VALUE 'AABBCC'.&lt;/P&gt;&lt;P&gt;REPLACE 'BB' IN text WITH ''.&lt;/P&gt;&lt;P&gt;and really text is 'AACC' after the above&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(I remembered so that a space was left there, even if the replacing value was 'nothing' and I had to use the CONDENSE ... NO-GAPS afterwards to delete that unnecessary space. There are two options: 1. My memories are wrong 2. It happened in earlier releases (now I tried in 4.7). Anyway, thanks for your correction!)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2008 11:03:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-character-from-a-string/m-p/4440157#M1053538</guid>
      <dc:creator>JozsefSzikszai</dc:creator>
      <dc:date>2008-09-03T11:03:58Z</dc:date>
    </item>
    <item>
      <title>Re: remove character from a string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-character-from-a-string/m-p/4440158#M1053539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just said so because the condense may delete gaps which should not be affected...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nevertheless i cant tell you if this was working different in 4.7. i started to use this command in ERP 2005.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2008 12:18:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-character-from-a-string/m-p/4440158#M1053539</guid>
      <dc:creator>rainer_hbenthal</dc:creator>
      <dc:date>2008-09-03T12:18:22Z</dc:date>
    </item>
  </channel>
</rss>

