<?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: Find number in a string in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/find-number-in-a-string/m-p/4884453#M1141436</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 have asame problem as him. i have a string. like this .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;B1;;2009/11 Claim: 007324;SA;20081006;20091101;I004;;1032000MAR;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want to find the I004 in that string.I can't hard code and find.Because it is from file.it does  contain any value in that postion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wnat to find t through Find with Regular Expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Feb 2009 16:25:07 GMT</pubDate>
    <dc:creator>tarangini_katta</dc:creator>
    <dc:date>2009-02-05T16:25:07Z</dc:date>
    <item>
      <title>Find number in a string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/find-number-in-a-string/m-p/4884451#M1141434</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;I want to find the offset of a 4 digit number between to () in a string.&lt;/P&gt;&lt;P&gt;For the given string: &lt;/P&gt;&lt;P&gt;a()(1)(1234)5678&lt;/P&gt;&lt;P&gt;I would like to recive the offset should return 8 (the offset of 1).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any Ideas ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Dec 2008 20:27:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/find-number-in-a-string/m-p/4884451#M1141434</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-07T20:27:04Z</dc:date>
    </item>
    <item>
      <title>Re: Find number in a string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/find-number-in-a-string/m-p/4884452#M1141435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Look at this sdn contribution which may help you [REGEX TOY: TESTING REGULAR EXPRESSIONS IN ABAP|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/1f9cd701-0b01-0010-87b8-f86f9b7b823f]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Dec 2008 20:55:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/find-number-in-a-string/m-p/4884452#M1141435</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2008-12-07T20:55:17Z</dc:date>
    </item>
    <item>
      <title>Re: Find number in a string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/find-number-in-a-string/m-p/4884453#M1141436</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 have asame problem as him. i have a string. like this .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;B1;;2009/11 Claim: 007324;SA;20081006;20091101;I004;;1032000MAR;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want to find the I004 in that string.I can't hard code and find.Because it is from file.it does  contain any value in that postion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wnat to find t through Find with Regular Expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Feb 2009 16:25:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/find-number-in-a-string/m-p/4884453#M1141436</guid>
      <dc:creator>tarangini_katta</dc:creator>
      <dc:date>2009-02-05T16:25:07Z</dc:date>
    </item>
    <item>
      <title>Re: Find number in a string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/find-number-in-a-string/m-p/4884454#M1141437</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 following code might solve your problem.&lt;/P&gt;&lt;P&gt;Copy the content into temporary variable l_temp2.&lt;/P&gt;&lt;P&gt;after the Do loop l_required will have the required value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DO.&lt;/P&gt;&lt;P&gt;SEARCH L_TEMP2 FOR ';'.&lt;/P&gt;&lt;P&gt;IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; SHIFT L_TEMP2 BY SY-FDPOS PLACES.&lt;/P&gt;&lt;P&gt; SHIFT L_TEMP2 LEFT.&lt;/P&gt;&lt;P&gt;  IF SY-INDEX = 6.&lt;/P&gt;&lt;P&gt;   L_REQUIRED = L_TEMP2(4).&lt;/P&gt;&lt;P&gt;   EXIT.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt; EXIT.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDDO.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Feb 2009 17:01:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/find-number-in-a-string/m-p/4884454#M1141437</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-05T17:01:44Z</dc:date>
    </item>
  </channel>
</rss>

