<?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 Finding text in a data field in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/finding-text-in-a-data-field/m-p/1746701#M323904</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, How could I find the % character in a string? I need its position in the string. The string is a field of a table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Dec 2006 12:32:42 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-12-12T12:32:42Z</dc:date>
    <item>
      <title>Finding text in a data field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/finding-text-in-a-data-field/m-p/1746701#M323904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, How could I find the % character in a string? I need its position in the string. The string is a field of a table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2006 12:32:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/finding-text-in-a-data-field/m-p/1746701#M323904</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-12T12:32:42Z</dc:date>
    </item>
    <item>
      <title>Re: Finding text in a data field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/finding-text-in-a-data-field/m-p/1746702#M323905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can use the CP syntax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if str cp '&lt;STRONG&gt;%&lt;/STRONG&gt;'.&lt;/P&gt;&lt;P&gt;sy-fdpos would have the first occurance of %.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can also use &lt;/P&gt;&lt;P&gt;search str for '%'. "newer versions of sap&lt;/P&gt;&lt;P&gt;sy-fdpos would have the first occurance of %.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;find '%' in str. "newer versions of sap&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2006 12:38:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/finding-text-in-a-data-field/m-p/1746702#M323905</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-12T12:38:39Z</dc:date>
    </item>
    <item>
      <title>Re: Finding text in a data field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/finding-text-in-a-data-field/m-p/1746703#M323906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jacob,&lt;/P&gt;&lt;P&gt;here a short example with char and string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: ST TYPE STRING.&lt;/P&gt;&lt;P&gt;DATA: CH(250).&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;  ST = 'I am a String with an % Character'.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;  SEARCH ST FOR '%'.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;  WRITE: / SY-SUBRC, sy-fdpos.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;  CH = 'I am a Char with an % Character'.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;  SEARCH CH FOR '%'.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;  WRITE: / SY-SUBRC, sy-fdpos.&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>Tue, 12 Dec 2006 12:40:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/finding-text-in-a-data-field/m-p/1746703#M323906</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-12T12:40:10Z</dc:date>
    </item>
  </channel>
</rss>

