<?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 Remove extra blank spaces in a (string) sentence in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-extra-blank-spaces-in-a-string-sentence/m-p/4377051#M1041371</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;I need to know , whether there is any command available&lt;/P&gt;&lt;P&gt;to remove the extra spaces in a String.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Uday Kumar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Aug 2008 12:09:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-08-21T12:09:49Z</dc:date>
    <item>
      <title>Remove extra blank spaces in a (string) sentence</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-extra-blank-spaces-in-a-string-sentence/m-p/4377051#M1041371</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;I need to know , whether there is any command available&lt;/P&gt;&lt;P&gt;to remove the extra spaces in a String.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Uday Kumar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Aug 2008 12:09:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-extra-blank-spaces-in-a-string-sentence/m-p/4377051#M1041371</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-21T12:09:49Z</dc:date>
    </item>
    <item>
      <title>Re: Remove extra blank spaces in a (string) sentence</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-extra-blank-spaces-in-a-string-sentence/m-p/4377052#M1041372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use CONDENSE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bhupal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Aug 2008 12:11:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-extra-blank-spaces-in-a-string-sentence/m-p/4377052#M1041372</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-21T12:11:13Z</dc:date>
    </item>
    <item>
      <title>Re: Remove extra blank spaces in a (string) sentence</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-extra-blank-spaces-in-a-string-sentence/m-p/4377053#M1041373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use Keyword CONDENSE.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Aug 2008 12:11:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-extra-blank-spaces-in-a-string-sentence/m-p/4377053#M1041373</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-21T12:11:32Z</dc:date>
    </item>
    <item>
      <title>Re: Remove extra blank spaces in a (string) sentence</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-extra-blank-spaces-in-a-string-sentence/m-p/4377054#M1041374</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;  The CONDENSE statement deletes redundant spaces from a string:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONDENSE c [NO-GAPS].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This statement removes any leading blanks in the field c and replaces other sequences of blanks by exactly one blank. The result is a left-justified sequence of words, each separated by one blank. If the addition NO-GAPS is specified, all blanks are removed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: string(25) TYPE c VALUE ' one  two   three    four',&lt;/P&gt;&lt;P&gt;      len TYPE I.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;len = strlen( string ).&lt;/P&gt;&lt;P&gt;WRITE: string, '!'.&lt;/P&gt;&lt;P&gt;WRITE: / 'Length: ', len.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONDENSE string.&lt;/P&gt;&lt;P&gt;len = strlen( string ).&lt;/P&gt;&lt;P&gt;WRITE: string, '!'.&lt;/P&gt;&lt;P&gt;WRITE: / 'Length: ', len.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONDENSE string NO-GAPS.&lt;/P&gt;&lt;P&gt;len = strlen( string ).&lt;/P&gt;&lt;P&gt;WRITE: string, '!'.&lt;/P&gt;&lt;P&gt;WRITE: / 'Length: ', len.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Output:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one  two   three    four !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Length:          25&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one two three four        !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Length:          18&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;onetwothreefour           !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Length:          15&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that the total length of the field string remains unchanged, but that the deleted blanks appear again on the right.&lt;/P&gt;&lt;P&gt;&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;Vijetha.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Aug 2008 12:11:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-extra-blank-spaces-in-a-string-sentence/m-p/4377054#M1041374</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-21T12:11:36Z</dc:date>
    </item>
    <item>
      <title>Re: Remove extra blank spaces in a (string) sentence</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-extra-blank-spaces-in-a-string-sentence/m-p/4377055#M1041375</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;CONDENSE&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Aug 2008 12:13:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-extra-blank-spaces-in-a-string-sentence/m-p/4377055#M1041375</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-21T12:13:14Z</dc:date>
    </item>
    <item>
      <title>Re: Remove extra blank spaces in a (string) sentence</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-extra-blank-spaces-in-a-string-sentence/m-p/4377056#M1041376</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 any of the following&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CONDENSE field.&lt;/CODE&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;CODE&gt;SHIFT field LEFT DELETING LEADING space.&lt;/CODE&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;CODE&gt;SHIFT field RIGHT DELETING TRAILING space.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Aug 2008 12:13:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-extra-blank-spaces-in-a-string-sentence/m-p/4377056#M1041376</guid>
      <dc:creator>peter_ruiz2</dc:creator>
      <dc:date>2008-08-21T12:13:24Z</dc:date>
    </item>
    <item>
      <title>Re: Remove extra blank spaces in a (string) sentence</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-extra-blank-spaces-in-a-string-sentence/m-p/4377057#M1041377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Go for CONDENSE command.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Aug 2008 12:14:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-extra-blank-spaces-in-a-string-sentence/m-p/4377057#M1041377</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-21T12:14:03Z</dc:date>
    </item>
    <item>
      <title>Re: Remove extra blank spaces in a (string) sentence</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-extra-blank-spaces-in-a-string-sentence/m-p/4377058#M1041378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Uday,&lt;/P&gt;&lt;P&gt;You can use CONDENSE command.The syntax is as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONDENSE &amp;lt;c&amp;gt; [NO-GAPS].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This statement removes any leading blanks from the field &amp;lt;c&amp;gt; and replaces other sequences of blanks by exactly one blank. If the addition NO-GAPS is specified, all blanks are removed.&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;Ashutosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Aug 2008 12:24:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-extra-blank-spaces-in-a-string-sentence/m-p/4377058#M1041378</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-21T12:24:05Z</dc:date>
    </item>
  </channel>
</rss>

