<?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 Differnce between STRLEN and NUMOFCHAR in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/differnce-between-strlen-and-numofchar/m-p/3611435#M870030</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody tell the difference between STRLEN and NUMOFCHAR.&lt;/P&gt;&lt;P&gt;Which is better to use and why to use the better one.&lt;/P&gt;&lt;P&gt;Can anybody explain me in detail. I will reward you with points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Karan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Mar 2008 03:37:57 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-24T03:37:57Z</dc:date>
    <item>
      <title>Differnce between STRLEN and NUMOFCHAR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/differnce-between-strlen-and-numofchar/m-p/3611435#M870030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody tell the difference between STRLEN and NUMOFCHAR.&lt;/P&gt;&lt;P&gt;Which is better to use and why to use the better one.&lt;/P&gt;&lt;P&gt;Can anybody explain me in detail. I will reward you with points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Karan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Mar 2008 03:37:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/differnce-between-strlen-and-numofchar/m-p/3611435#M870030</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-24T03:37:57Z</dc:date>
    </item>
    <item>
      <title>Re: Differnce between STRLEN and NUMOFCHAR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/differnce-between-strlen-and-numofchar/m-p/3611436#M870031</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 this link&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw70/helpdata/EN/79/c55479b3dc11d5993800508b6b8b11/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw70/helpdata/EN/79/c55479b3dc11d5993800508b6b8b11/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Mar 2008 03:49:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/differnce-between-strlen-and-numofchar/m-p/3611436#M870031</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-24T03:49:37Z</dc:date>
    </item>
    <item>
      <title>Re: Differnce between STRLEN and NUMOFCHAR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/differnce-between-strlen-and-numofchar/m-p/3611437#M870032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Function &lt;STRONG&gt;STRLEN&lt;/STRONG&gt; works only with character type field and returns the length in characters. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Function &lt;STRONG&gt;NUMOFCHAR&lt;/STRONG&gt; returns the number of characters in a string or a character-type field.&lt;/P&gt;&lt;P&gt;This function behaves like &lt;STRONG&gt;STRLEN&lt;/STRONG&gt;   in single byte code page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sandipan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Mar 2008 03:54:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/differnce-between-strlen-and-numofchar/m-p/3611437#M870032</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-24T03:54:03Z</dc:date>
    </item>
    <item>
      <title>Re: Differnce between STRLEN and NUMOFCHAR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/differnce-between-strlen-and-numofchar/m-p/3611438#M870033</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 these links....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/79/c55479b3dc11d5993800508b6b8b11/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/79/c55479b3dc11d5993800508b6b8b11/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb33d9358411d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb33d9358411d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;AK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Mar 2008 03:55:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/differnce-between-strlen-and-numofchar/m-p/3611438#M870033</guid>
      <dc:creator>ak_upadhyay</dc:creator>
      <dc:date>2008-03-24T03:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: Differnce between STRLEN and NUMOFCHAR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/differnce-between-strlen-and-numofchar/m-p/3611439#M870034</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;STRONG&gt;STRLEN:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Returns the length of a character-type field in characters. With c-fields, as opposed to fields with type STRING, only the actual length used is relevant because blanks at the end are not counted. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NUMOFCHAR.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Returns the number of characters of a character-type field. In Unicode systems and non-Unicode systems with single-byte codepages, this function behaves like STRLEN. In non-Unicode systems with double-byte codepages, characters that take up more than one byte are counted with length 1, while STRLEN returns length 2. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just refer ABAPDOCU for more information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if useful,&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;bharathi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Mar 2008 03:56:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/differnce-between-strlen-and-numofchar/m-p/3611439#M870034</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-24T03:56:24Z</dc:date>
    </item>
    <item>
      <title>Re: Differnce between STRLEN and NUMOFCHAR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/differnce-between-strlen-and-numofchar/m-p/3611440#M870035</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;NUMOFCHAR : It gives the total length of the variable irrespect of&lt;/P&gt;&lt;P&gt;                        the  number of chars in the cvariable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Ex : v_num(30).  means "30" is thge result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STRLEN  : It gives the nuber of chars present in that variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;              Ex:  v_num(30) TYPE c value 'abcdef'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        result is '6'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Mar 2008 04:00:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/differnce-between-strlen-and-numofchar/m-p/3611440#M870035</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-24T04:00:13Z</dc:date>
    </item>
    <item>
      <title>Re: Differnce between STRLEN and NUMOFCHAR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/differnce-between-strlen-and-numofchar/m-p/3611441#M870036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello MuraliKrishna,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply. Can you tell me which is better to use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Karan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Mar 2008 04:11:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/differnce-between-strlen-and-numofchar/m-p/3611441#M870036</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-24T04:11:45Z</dc:date>
    </item>
    <item>
      <title>Re: Differnce between STRLEN and NUMOFCHAR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/differnce-between-strlen-and-numofchar/m-p/3611442#M870037</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;  it depends.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some times in program you need to find the length of  the variable,based on that you have to caluculate some thing, that time you have to use STRLEN().Here if you use NUMOFCHAR() your result will be wrong. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So use based on requirement use above functions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Mar 2008 04:17:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/differnce-between-strlen-and-numofchar/m-p/3611442#M870037</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-24T04:17:07Z</dc:date>
    </item>
    <item>
      <title>Re: Differnce between STRLEN and NUMOFCHAR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/differnce-between-strlen-and-numofchar/m-p/3611443#M870038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Murali,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a scenario if we want to find the length by using STRLEN each character takes 2 bytes. But for NUMOFCHAR it takes only 1 byte.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you tell me an example for STRLEN which takes 1 character as 2 bytes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Karan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Mar 2008 04:27:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/differnce-between-strlen-and-numofchar/m-p/3611443#M870038</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-24T04:27:02Z</dc:date>
    </item>
  </channel>
</rss>

