<?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: how to get numeric part from a string. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-numeric-part-from-a-string/m-p/7395588#M1546090</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ignore&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Keshav.T on Oct 18, 2010 6:37 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Oct 2010 12:58:50 GMT</pubDate>
    <dc:creator>kesavadas_thekkillath</dc:creator>
    <dc:date>2010-10-18T12:58:50Z</dc:date>
    <item>
      <title>how to get numeric part from a string.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-numeric-part-from-a-string/m-p/7395587#M1546089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Plz help me &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to get  numeric part from a string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eg. 17682442basic&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want the numeric part from the field ( numeric field length not fixed)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Oct 2010 12:43:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-numeric-part-from-a-string/m-p/7395587#M1546089</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-18T12:43:29Z</dc:date>
    </item>
    <item>
      <title>Re: how to get numeric part from a string.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-numeric-part-from-a-string/m-p/7395588#M1546090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ignore&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Keshav.T on Oct 18, 2010 6:37 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Oct 2010 12:58:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-numeric-part-from-a-string/m-p/7395588#M1546090</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2010-10-18T12:58:50Z</dc:date>
    </item>
    <item>
      <title>Re: how to get numeric part from a string.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-numeric-part-from-a-string/m-p/7395589#M1546091</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;Check the position of last character by using CA '0123456789'. And upto that position cut the string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amitava&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Oct 2010 13:21:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-numeric-part-from-a-string/m-p/7395589#M1546091</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-18T13:21:10Z</dc:date>
    </item>
    <item>
      <title>Re: how to get numeric part from a string.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-numeric-part-from-a-string/m-p/7395590#M1546092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'd read the string left to right, one character at a time, until I found a character not in 1-9, by incrementing a counter and doing if string+counter(1) co '123456789'. etc..  When non-numeric character, the  index (counter) is the length of the numeric part of the string.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Oct 2010 13:26:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-numeric-part-from-a-string/m-p/7395590#M1546092</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-18T13:26:44Z</dc:date>
    </item>
    <item>
      <title>Re: how to get numeric part from a string.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-numeric-part-from-a-string/m-p/7395591#M1546093</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:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: w_ss(10),
      w_nn type i,
      w_ii type i.

w_ss = '123abc'.
w_ii = 0.
while w_ii &amp;lt; strlen( w_ss ).
  if not w_ss+w_ii(1) ca '0123456789'.
     w_ss+w_ii(1) = ' '.
  endif.
  w_ii = w_ii + 1.
endwhile.
condense w_ss  no-gaps.

w_nn = w_ss.

write w_nn.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lendro Mengue&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Oct 2010 13:29:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-numeric-part-from-a-string/m-p/7395591#M1546093</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-18T13:29:14Z</dc:date>
    </item>
    <item>
      <title>Re: how to get numeric part from a string.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-numeric-part-from-a-string/m-p/7395592#M1546094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;Moderator message - Please do not ask or answer basic questions or questions that are easily searchable - thread locked

Rob&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Oct 2010 13:32:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-numeric-part-from-a-string/m-p/7395592#M1546094</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-18T13:32:13Z</dc:date>
    </item>
  </channel>
</rss>

