<?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: String Functions in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-functions/m-p/2366205#M523940</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;CONDENSE &amp;lt;c&amp;gt; [NO-GAPS].&lt;/P&gt;&lt;P&gt;This statement removes any leading blanks in the field &amp;lt;c&amp;gt; and replaces other sequences of&lt;/P&gt;&lt;P&gt;blanks by exactly one blank. The result is a left-justified sequence of words, each separated by&lt;/P&gt;&lt;P&gt;one blank. If the addition NO-GAPS is specified, all blanks are removed.&lt;/P&gt;&lt;P&gt;DATA: STRING(25) VALUE ' one two three four',&lt;/P&gt;&lt;P&gt;LEN TYPE I.&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;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;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;Output:&lt;/P&gt;&lt;P&gt;one two three four !&lt;/P&gt;&lt;P&gt;Length: 25&lt;/P&gt;&lt;P&gt;one two three four !&lt;/P&gt;&lt;P&gt;Length: 18&lt;/P&gt;&lt;P&gt;onetwothreefour !&lt;/P&gt;&lt;P&gt;Length: 15&lt;/P&gt;&lt;P&gt;Note that the total length of the field STRING remains unchanged, but that the&lt;/P&gt;&lt;P&gt;deleted blanks appear again on the right.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bhaskar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Jun 2007 11:15:40 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-14T11:15:40Z</dc:date>
    <item>
      <title>String Functions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-functions/m-p/2366201#M523936</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;How to remove a space in a string ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;st = '          hai'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to remove front and back spaces .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If there any function ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bye,&lt;/P&gt;&lt;P&gt;Satya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2007 11:10:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string-functions/m-p/2366201#M523936</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-14T11:10:10Z</dc:date>
    </item>
    <item>
      <title>Re: String Functions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-functions/m-p/2366202#M523937</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 CONDENSE command&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;condence str.&lt;/P&gt;&lt;P&gt;will remove the spaces&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points for useful Answers&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2007 11:11:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string-functions/m-p/2366202#M523937</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-14T11:11:49Z</dc:date>
    </item>
    <item>
      <title>Re: String Functions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-functions/m-p/2366203#M523938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use &amp;lt;b&amp;gt;condense&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2007 11:13:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string-functions/m-p/2366203#M523938</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-14T11:13:01Z</dc:date>
    </item>
    <item>
      <title>Re: String Functions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-functions/m-p/2366204#M523939</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;Try this code,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SHIFT st RIGHT DELETING TRAILING SPACE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Reward If Helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2007 11:14:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string-functions/m-p/2366204#M523939</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-14T11:14:08Z</dc:date>
    </item>
    <item>
      <title>Re: String Functions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-functions/m-p/2366205#M523940</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;CONDENSE &amp;lt;c&amp;gt; [NO-GAPS].&lt;/P&gt;&lt;P&gt;This statement removes any leading blanks in the field &amp;lt;c&amp;gt; and replaces other sequences of&lt;/P&gt;&lt;P&gt;blanks by exactly one blank. The result is a left-justified sequence of words, each separated by&lt;/P&gt;&lt;P&gt;one blank. If the addition NO-GAPS is specified, all blanks are removed.&lt;/P&gt;&lt;P&gt;DATA: STRING(25) VALUE ' one two three four',&lt;/P&gt;&lt;P&gt;LEN TYPE I.&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;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;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;Output:&lt;/P&gt;&lt;P&gt;one two three four !&lt;/P&gt;&lt;P&gt;Length: 25&lt;/P&gt;&lt;P&gt;one two three four !&lt;/P&gt;&lt;P&gt;Length: 18&lt;/P&gt;&lt;P&gt;onetwothreefour !&lt;/P&gt;&lt;P&gt;Length: 15&lt;/P&gt;&lt;P&gt;Note that the total length of the field STRING remains unchanged, but that the&lt;/P&gt;&lt;P&gt;deleted blanks appear again on the right.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bhaskar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2007 11:15:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string-functions/m-p/2366205#M523940</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-14T11:15:40Z</dc:date>
    </item>
    <item>
      <title>Re: String Functions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-functions/m-p/2366206#M523941</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;My problem is We are taking values from java program . They are sending in String Format for the Quantity field. We have to take the values and we have to update in our database. In our database quntatiy field is with packed decimal with 3 digits in after decimals.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How we can convert it ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bye,&lt;/P&gt;&lt;P&gt;Satya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2007 11:20:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string-functions/m-p/2366206#M523941</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-14T11:20:57Z</dc:date>
    </item>
    <item>
      <title>Re: String Functions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-functions/m-p/2366207#M523942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;CONDENSE &amp;lt;string name&amp;gt; NO-GAPS.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2007 11:21:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string-functions/m-p/2366207#M523942</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-14T11:21:48Z</dc:date>
    </item>
  </channel>
</rss>

