<?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: Is there a function module which swaps a string? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-there-a-function-module-which-swaps-a-string/m-p/2752562#M640301</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 the function module STRING_REVERSE to reverse a string then use the Search for the SPACE in the reversed string then do the code which suits your requirment&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; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Sep 2007 12:42:19 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-06T12:42:19Z</dc:date>
    <item>
      <title>Is there a function module which swaps a string?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-there-a-function-module-which-swaps-a-string/m-p/2752561#M640300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ABAP,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i got a string. Example: 'hello world, blablabla fhuhfuahu psiuiua auugui'.&lt;/P&gt;&lt;P&gt;what i really want is to search the string for the first space, but from the right side.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the search statement i have not found any addition which allows me to search the string backwards. Maybe if i give starting_at a higher value than ending_at. tho i dont believe that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so i though about a workaround.&lt;/P&gt;&lt;P&gt;I´d like to swap the string so first character becomes last character and last becomes first. now i could search the swapped string for the first occurance of space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if anyone got any ideas regarding this scenario i´d really like to hear them.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2007 12:39:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/is-there-a-function-module-which-swaps-a-string/m-p/2752561#M640300</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-06T12:39:22Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a function module which swaps a string?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-there-a-function-module-which-swaps-a-string/m-p/2752562#M640301</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 the function module STRING_REVERSE to reverse a string then use the Search for the SPACE in the reversed string then do the code which suits your requirment&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; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2007 12:42:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/is-there-a-function-module-which-swaps-a-string/m-p/2752562#M640301</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-06T12:42:19Z</dc:date>
    </item>
  </channel>
</rss>

