<?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 Carriage return from string in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-carriage-return-from-string/m-p/1764016#M330469</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;P&gt;Check out using this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cl_abap_char_utilities=&amp;gt;cr_lf&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shehryar Dahar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Dec 2006 07:54:52 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-12-05T07:54:52Z</dc:date>
    <item>
      <title>Remove Carriage return from string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-carriage-return-from-string/m-p/1764013#M330466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a free text area on a BSP (a form). When users type continuously in this area the text gets wraped. When the BSP is submitted it generates a sapscript form and the text area is printed on the form, but it has '##' which are placed where the text wrapped round. I would like to remove '##', so tried the following:&lt;/P&gt;&lt;P&gt;replace all occurrences of '##' in text_area with ' '.&lt;/P&gt;&lt;P&gt;This did not work as the '##' are not recognised presumably because they are some type of carriage return and not in fact has marks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Dec 2006 05:44:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-carriage-return-from-string/m-p/1764013#M330466</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-04T05:44:02Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Carriage return from string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-carriage-return-from-string/m-p/1764014#M330467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can find the hexadecimal value for a carriage return (0x0d) and then replace that with spaces.&lt;/P&gt;&lt;P&gt;But if replace statement has problems operating on non char like characters. The we have to look for some work around.&lt;/P&gt;&lt;P&gt;The work around can be declaring a constant for the carraige return referring to the CL_ABAP_CHAR_UTILITIES class CR_LF attribute.&lt;/P&gt;&lt;P&gt;CL_ABAP_CHAR_UTILITIES=&amp;gt;CR_LF.&lt;/P&gt;&lt;P&gt;and then use it in replace statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Dec 2006 05:55:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-carriage-return-from-string/m-p/1764014#M330467</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-04T05:55:39Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Carriage return from string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-carriage-return-from-string/m-p/1764015#M330468</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;Use Method &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;cl_abap_char_utilities=&amp;gt;cr_lf&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raja T&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2006 01:38:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-carriage-return-from-string/m-p/1764015#M330468</guid>
      <dc:creator>raja_thangamani</dc:creator>
      <dc:date>2006-12-05T01:38:10Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Carriage return from string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-carriage-return-from-string/m-p/1764016#M330469</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;P&gt;Check out using this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cl_abap_char_utilities=&amp;gt;cr_lf&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shehryar Dahar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2006 07:54:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-carriage-return-from-string/m-p/1764016#M330469</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-05T07:54:52Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Carriage return from string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-carriage-return-from-string/m-p/1764017#M330470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you dont have access to the class CL_ABAP_CHAR_UTILITIES, do this instead:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA: crlf(2)   TYPE x VALUE '0D0A',
      itab      TYPE TABLE OF string,
      w_input   TYPE string.

   w_input = '&amp;lt;contains the text with the line feed.&amp;gt;'.

   SPLIT w_input AT crlf INTO TABLE itab.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards Michael.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2007 08:38:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-carriage-return-from-string/m-p/1764017#M330470</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-07T08:38:48Z</dc:date>
    </item>
  </channel>
</rss>

