<?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 How to reverse a string in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-reverse-a-string/m-p/3842369#M923843</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;please tell me how to reverse  a string like abc = cba &lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 May 2008 04:21:34 GMT</pubDate>
    <dc:creator>former_member329859</dc:creator>
    <dc:date>2008-05-16T04:21:34Z</dc:date>
    <item>
      <title>How to reverse a string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-reverse-a-string/m-p/3842369#M923843</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;please tell me how to reverse  a string like abc = cba &lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 May 2008 04:21:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-reverse-a-string/m-p/3842369#M923843</guid>
      <dc:creator>former_member329859</dc:creator>
      <dc:date>2008-05-16T04:21:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to reverse a string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-reverse-a-string/m-p/3842370#M923844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 May 2008 04:25:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-reverse-a-string/m-p/3842370#M923844</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-16T04:25:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to reverse a string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-reverse-a-string/m-p/3842371#M923845</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 the function module STRING_REVERSE&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA:str(10) value 'ABC',
     r_str(10).
CALL FUNCTION 'STRING_REVERSE'
  EXPORTING
    STRING          = str
    LANG            = 'E'
 IMPORTING
   RSTRING         = r_str.

WRITE:/ r_str.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds,&lt;/P&gt;&lt;P&gt;bharat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 May 2008 04:28:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-reverse-a-string/m-p/3842371#M923845</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-16T04:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to reverse a string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-reverse-a-string/m-p/3842372#M923846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the below code...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data : l_str(15) type c.
data : l_len type i.
data : l_revstr(15).

l_len = strlen( l_str ).

do.
l_len = l_len - 1.
concatenate l_revstr l_str+l_len(1) into l_revstr.
if l_len = 0.
   exit.
endif.
enddo.

write : / l_str, 
        / l_REvstr.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this is helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 May 2008 04:29:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-reverse-a-string/m-p/3842372#M923846</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-16T04:29:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to reverse a string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-reverse-a-string/m-p/3842373#M923847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use fm STRING_REVERSE&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 May 2008 04:32:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-reverse-a-string/m-p/3842373#M923847</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-16T04:32:50Z</dc:date>
    </item>
  </channel>
</rss>

