<?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 split the numeric and character in string? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-split-the-numeric-and-character-in-string/m-p/4495921#M1063875</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;data : var(10) type n,&lt;/P&gt;&lt;P&gt;       var1(10) type c value '12.34VBFG'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       move var1 to var.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write var.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Sep 2008 09:10:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-09-11T09:10:44Z</dc:date>
    <item>
      <title>How to split the numeric and character in string?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-split-the-numeric-and-character-in-string/m-p/4495919#M1063873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all&lt;/P&gt;&lt;P&gt;         I have a problem with the split string to detach the numeric and  character&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;Str1=u2019123.456  abcdu2019&lt;/P&gt;&lt;P&gt;I want the return value is u2018123.456u2019 ,removed the u2018abcdu2019&lt;/P&gt;&lt;P&gt;In this example  the character u2018abcdu2019 maybe  dynamic bits or value.&lt;/P&gt;&lt;P&gt;It can u2018abcu2019 or can u2018abcdeu2019 or can u2018abdu2019 etc..&lt;/P&gt;&lt;P&gt;How do to do it ?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2008 08:59:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-split-the-numeric-and-character-in-string/m-p/4495919#M1063873</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-11T08:59:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to split the numeric and character in string?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-split-the-numeric-and-character-in-string/m-p/4495920#M1063874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sun,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;str2 = str1(7).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Dieter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2008 09:01:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-split-the-numeric-and-character-in-string/m-p/4495920#M1063874</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-11T09:01:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to split the numeric and character in string?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-split-the-numeric-and-character-in-string/m-p/4495921#M1063875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;data : var(10) type n,&lt;/P&gt;&lt;P&gt;       var1(10) type c value '12.34VBFG'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       move var1 to var.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write var.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2008 09:10:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-split-the-numeric-and-character-in-string/m-p/4495921#M1063875</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-11T09:10:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to split the numeric and character in string?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-split-the-numeric-and-character-in-string/m-p/4495922#M1063876</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>Thu, 11 Sep 2008 09:12:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-split-the-numeric-and-character-in-string/m-p/4495922#M1063876</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-11T09:12:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to split the numeric and character in string?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-split-the-numeric-and-character-in-string/m-p/4495923#M1063877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;will not work with "122.34 abcd" &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2008 09:12:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-split-the-numeric-and-character-in-string/m-p/4495923#M1063877</guid>
      <dc:creator>rainer_hbenthal</dc:creator>
      <dc:date>2008-09-11T09:12:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to split the numeric and character in string?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-split-the-numeric-and-character-in-string/m-p/4495924#M1063878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rainer,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sure, but has the value allways a lenght of 7 or does it has an dynamic lenght??&lt;/P&gt;&lt;P&gt;Do you know the answer?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards, Dieter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2008 09:16:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-split-the-numeric-and-character-in-string/m-p/4495924#M1063878</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-11T09:16:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to split the numeric and character in string?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-split-the-numeric-and-character-in-string/m-p/4495925#M1063879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are the letters always in the end? And starting in position 8? Or having the space between numbers and letters? This is usefull info that could allow us to give you the BEST solution.&lt;/P&gt;&lt;P&gt;However, I'll give you a generic solution that will allways work (I hope &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt; ).&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA: lenght TYPE i,
      pos(2) TYPE n,
      str1   TYPE char255 VALUE '123.456 abcd'.
lenght = strlen( str1 ).
CLEAR pos.
DO lenght TIMES.
  IF NOT str1+pos(1) CO '0123456789.'.
    CLEAR str1+pos(1).
  ENDIF.
  ADD 1 TO pos.
ENDDO.
CONDENSE str1.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;Valter Oliveira.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2008 09:22:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-split-the-numeric-and-character-in-string/m-p/4495925#M1063879</guid>
      <dc:creator>valter_oliveira</dc:creator>
      <dc:date>2008-09-11T09:22:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to split the numeric and character in string?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-split-the-numeric-and-character-in-string/m-p/4495926#M1063880</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 following code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;IF &amp;lt;field&amp;gt; CA sy-abcde.

length = sy-fdpos - 1.

string = &amp;lt;field&amp;gt;+0(leneth).

ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kunjal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2008 09:24:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-split-the-numeric-and-character-in-string/m-p/4495926#M1063880</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-11T09:24:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to split the numeric and character in string?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-split-the-numeric-and-character-in-string/m-p/4495927#M1063881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Congrats Valter. Good Solution. I appreciate your answer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2008 09:47:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-split-the-numeric-and-character-in-string/m-p/4495927#M1063881</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-11T09:47:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to split the numeric and character in string?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-split-the-numeric-and-character-in-string/m-p/4495928#M1063882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for all.&lt;/P&gt;&lt;P&gt;the problem has solved.&lt;/P&gt;&lt;P&gt;Sun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2008 11:28:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-split-the-numeric-and-character-in-string/m-p/4495928#M1063882</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-11T11:28:49Z</dc:date>
    </item>
  </channel>
</rss>

