<?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: About Strings in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-strings/m-p/2037251#M418565</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravikanth.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Strings can also be compared with Relational operators like &amp;lt;, &amp;gt; &amp;lt;= &amp;gt;= ........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just try it once......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suresh......&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Mar 2007 04:50:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-08T04:50:29Z</dc:date>
    <item>
      <title>About Strings</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-strings/m-p/2037248#M418562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there any function to compare two strings&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2007 04:44:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-strings/m-p/2037248#M418562</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-08T04:44:22Z</dc:date>
    </item>
    <item>
      <title>Re: About Strings</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-strings/m-p/2037249#M418563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes we have  &lt;/P&gt;&lt;P&gt;CO, CP , NA , EQ, CS&lt;/P&gt;&lt;P&gt;all these can be used for individual character comparison and for string comparison also..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for more information check this link...&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_47x200/helpdata/en/d3/2e974d35c511d1829f0000e829fbfe/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_47x200/helpdata/en/d3/2e974d35c511d1829f0000e829fbfe/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward helpful answers..&lt;/P&gt;&lt;P&gt;sai ramesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2007 04:47:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-strings/m-p/2037249#M418563</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-08T04:47:38Z</dc:date>
    </item>
    <item>
      <title>Re: About Strings</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-strings/m-p/2037250#M418564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if u want check if the 2 strings are equal or not, just use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if string1 eq string 2.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2007 04:50:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-strings/m-p/2037250#M418564</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-08T04:50:24Z</dc:date>
    </item>
    <item>
      <title>Re: About Strings</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-strings/m-p/2037251#M418565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravikanth.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Strings can also be compared with Relational operators like &amp;lt;, &amp;gt; &amp;lt;= &amp;gt;= ........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just try it once......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suresh......&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2007 04:50:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-strings/m-p/2037251#M418565</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-08T04:50:29Z</dc:date>
    </item>
    <item>
      <title>Re: About Strings</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-strings/m-p/2037252#M418566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;     Try using the FM SOTR_STRING_PARSER_COMPARE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2007 04:51:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-strings/m-p/2037252#M418566</guid>
      <dc:creator>seshatalpasai_madala</dc:creator>
      <dc:date>2007-03-08T04:51:01Z</dc:date>
    </item>
    <item>
      <title>Re: About Strings</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-strings/m-p/2037253#M418567</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;1. CO (Contains Only):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   c1 contains only characters in the string c2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   The comparison takes into account the full length of c1,&lt;/P&gt;&lt;P&gt;   including blanks at the end.&lt;/P&gt;&lt;P&gt;   If the result of the comparison is negative, the system&lt;/P&gt;&lt;P&gt;   field SY-FDPOS contains the offset of the first character in&lt;/P&gt;&lt;P&gt;   c1 which is not also in c2.&lt;/P&gt;&lt;P&gt;   If the result of the comparison is positive, the system&lt;/P&gt;&lt;P&gt;   field SY-FDPOS contains the length of c1.&lt;/P&gt;&lt;P&gt;   The comparison is case-sensitive.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Examples:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   'ABCDE' CO 'XYZ'   is false; SY-FDPOS = 0.&lt;/P&gt;&lt;P&gt;   'ABCDE' CO 'AB'    is false; SY-FDPOS = 2.&lt;/P&gt;&lt;P&gt;   'ABCDE' CO 'ABCDE' is true;  SY-FDPOS = 5.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CN (Contains Not only):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"c1 CN c2" is equivalent to "NOT ( c1 CO c2 )".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c1 contains not only characters from c2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the result of the comparison is positive, the system&lt;/P&gt;&lt;P&gt;field SY-FDPOS contains the offset of the first character in&lt;/P&gt;&lt;P&gt;c1 which is not also in c2.&lt;/P&gt;&lt;P&gt;If the result of the comparison is negative, the system&lt;/P&gt;&lt;P&gt;field SY-FDPOS contains the length of c1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CA (Contains Any):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; c1 contains at least one character from the string c2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; The comparison takes into account the full length of c1,&lt;/P&gt;&lt;P&gt; including blanks at the end.&lt;/P&gt;&lt;P&gt; If the result of the comparison is positive, the system&lt;/P&gt;&lt;P&gt; field SY-FDPOS contains the offset of the first character in&lt;/P&gt;&lt;P&gt; c1 which is also in c2.&lt;/P&gt;&lt;P&gt; If the result of the comparison is negative, the system&lt;/P&gt;&lt;P&gt; field SY-FDPOS contains the length of c1.&lt;/P&gt;&lt;P&gt; The comparison is case-sensitive.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Examples:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; 'ABCDE' CA 'CY' is true;  SY-FDPOS = 2.&lt;/P&gt;&lt;P&gt; 'ABCDE' CA 'XY' is false; SY-FDPOS = 5.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NA (contains Not Any):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"c1 NA c2" is equivalent to "NOT ( c1 CA c2 )".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c1 contains no characters from c2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-FDPOS is set accordingly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CS (Contains String):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c1 contains the character string c2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Trailing blanks in c1 and c2 are ignored.&lt;/P&gt;&lt;P&gt;If the result of the comparison is positive, the system&lt;/P&gt;&lt;P&gt;field SY-FDPOS contains the offset of the first character of&lt;/P&gt;&lt;P&gt;c2 in c1.&lt;/P&gt;&lt;P&gt;If the result of the comparison is negative, the system&lt;/P&gt;&lt;P&gt;field SY-FDPOS contains the length of c1.&lt;/P&gt;&lt;P&gt;The comparison is not case-sensitive.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Examples:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'ABCDE'   CS 'CD'  is true;       SY-FDPOS = 2.&lt;/P&gt;&lt;P&gt;'ABCDE'   CS 'XY'  is false;      SY-FDPOS = 5.&lt;/P&gt;&lt;P&gt;'ABAAA'   CS 'AB ' is true;       SY-FDPOS = 0.&lt;/P&gt;&lt;P&gt;'  ABC'   CS ' AB' is true;       SY-FDPOS = 1.&lt;/P&gt;&lt;P&gt;'ABC DEF' CS ' '   is true;  but: SY-FDPOS = 0,&lt;/P&gt;&lt;P&gt;  since ' ' is interpreted as a trailing blank and is thus&lt;/P&gt;&lt;P&gt;  ignored.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NS (contains No String):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"c1 NS c2" is equivalent to "NOT ( c1 CS c2 )".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c1 does not contain c2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-FDPOS is set accordingly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CP (Contains Pattern):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c1 matches c2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The pattern c2 can contain ordinary characters and&lt;/P&gt;&lt;P&gt;wildcards.&lt;/P&gt;&lt;P&gt;'*' stands for any character string and '+' denotes any&lt;/P&gt;&lt;P&gt;character.&lt;/P&gt;&lt;P&gt;If the result of the comparison is positive, the system&lt;/P&gt;&lt;P&gt;field SY-FDPOS contains the offset of the first character of&lt;/P&gt;&lt;P&gt;c2 in c1. The wildcard character '*' at the beginning of the&lt;/P&gt;&lt;P&gt;pattern c2 is ignored when determining the value of&lt;/P&gt;&lt;P&gt;SY-FDPOS.&lt;/P&gt;&lt;P&gt;If the result of the comparison is negative, the system&lt;/P&gt;&lt;P&gt;field SY-FDPOS contains the length of c1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Examples:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'ABCDE' CP '&lt;STRONG&gt;CD&lt;/STRONG&gt;'  is true;  SY-FDPOS = 2.&lt;/P&gt;&lt;P&gt;'ABCDE' CP '*CD'   is false; SY-FDPOS = 5.&lt;/P&gt;&lt;P&gt;'ABCDE' CP '+&lt;EM&gt;CD&lt;/EM&gt;' is true;  SY-FDPOS = 0.&lt;/P&gt;&lt;P&gt;'ABCDE' CP '+CD*'  is false; SY-FDPOS = 5.&lt;/P&gt;&lt;P&gt;'ABCDE' CP '&lt;STRONG&gt;B&lt;/STRONG&gt;D*' is true;  SY-FDPOS = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The character '#' has a special meaning. It serves as an&lt;/P&gt;&lt;P&gt;escape symbol and indicates that the very next character&lt;/P&gt;&lt;P&gt;should be compared "exactly".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2007 04:51:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-strings/m-p/2037253#M418567</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-08T04:51:31Z</dc:date>
    </item>
    <item>
      <title>Re: About Strings</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-strings/m-p/2037254#M418568</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;You can use = operator to compare strings..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: V_STRING1 TYPE STRING.&lt;/P&gt;&lt;P&gt;DATA: V_STRING2 TYPE STRING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;V_STRING1 = 'ABC'.&lt;/P&gt;&lt;P&gt;V_STRING2 = 'ABC'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF V_STRING1 = V_STRING2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE: / 'TRUE'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE: / 'FALSE'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2007 04:51:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-strings/m-p/2037254#M418568</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-08T04:51:57Z</dc:date>
    </item>
    <item>
      <title>Re: About Strings</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-strings/m-p/2037255#M418569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Yes there are few FM's to compare strings but it depends what is your requirement. &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; Check &lt;/P&gt;&lt;P&gt; DX_MAP_COMP_STRINGS&lt;/P&gt;&lt;P&gt; /SAPDMC/LSMW_COMP_STRINGS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; But better to the string comparison operators as mentioned in the above reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Cheers&lt;/P&gt;&lt;P&gt; VJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2007 04:52:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-strings/m-p/2037255#M418569</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-08T04:52:11Z</dc:date>
    </item>
    <item>
      <title>Re: About Strings</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-strings/m-p/2037256#M418570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;good &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;USE STRCMP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;mrutyun^&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2007 05:02:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-strings/m-p/2037256#M418570</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-08T05:02:53Z</dc:date>
    </item>
    <item>
      <title>Re: About Strings</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-strings/m-p/2037257#M418571</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;Go to transaction ABAPDOCU...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check 'processing strings' program under &lt;/P&gt;&lt;P&gt;BASIC STATEMENTS --&amp;gt;PROCESS DATA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you willl find all the operations which can be performed on Strings .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2007 05:06:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-strings/m-p/2037257#M418571</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-08T05:06:52Z</dc:date>
    </item>
    <item>
      <title>Re: About Strings</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-strings/m-p/2037258#M418572</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;If your question is answered, please close this thread .&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, 08 Mar 2007 11:58:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-strings/m-p/2037258#M418572</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-08T11:58:40Z</dc:date>
    </item>
  </channel>
</rss>

