<?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 get string length? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-string-length/m-p/3445555#M827501</link>
    <description>&lt;P&gt;Adding:&lt;/P&gt;&lt;P&gt;It can be used also in conditional expressions&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;      IF ( strlen( lv_all_mails ) + strlen( another_email ) ) LE 130.&lt;BR /&gt;          CONCATENATE lv_all_mails another_email INTO lv_all_mails SEPARATED BY space.&lt;BR /&gt;      ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 07 Mar 2023 15:47:26 GMT</pubDate>
    <dc:creator>HETEROCIGOTO</dc:creator>
    <dc:date>2023-03-07T15:47:26Z</dc:date>
    <item>
      <title>How to get string length?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-string-length/m-p/3445550#M827496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I m making sapscript n one of tht field is 50 char long.&lt;/P&gt;&lt;P&gt;i wnt to use strlen func for getting length of that field .&lt;/P&gt;&lt;P&gt;hw cn i do this ?&lt;/P&gt;&lt;P&gt;if ne othr method is thr pls tell me...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Feb 2008 09:04:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-string-length/m-p/3445550#M827496</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-19T09:04:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to get string length?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-string-length/m-p/3445551#M827497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use the Key word STRLEN to find teh string length in the print program. And pass same value to SAP Script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Feb 2008 09:09:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-string-length/m-p/3445551#M827497</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-19T09:09:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to get string length?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-string-length/m-p/3445552#M827498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

DATA: STR(50) VALUE 'How to get string length? '.

DATA: LEN TYPE I.

LEN = STRLEN( STR ).

WRITE: LEN.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Vasanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Feb 2008 09:16:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-string-length/m-p/3445552#M827498</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-19T09:16:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to get string length?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-string-length/m-p/3445553#M827499</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;&lt;/P&gt;&lt;P&gt;  Data : V_string(50)  VALUE 'ABCDEFGH',&lt;/P&gt;&lt;P&gt;            v_cnt TYPE I.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  v_cnt =  strlen( v_string ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write : v_cnt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls. reward if useful..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Feb 2008 09:17:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-string-length/m-p/3445553#M827499</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-19T09:17:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to get string length?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-string-length/m-p/3445554#M827500</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;Use STRLEN .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: int TYPE i,&lt;/P&gt;&lt;P&gt;word1(20) TYPE c VALUE '12345',&lt;/P&gt;&lt;P&gt;word2(20) TYPE c ,&lt;/P&gt;&lt;P&gt;word3(20) TYPE c VALUE ' 4 '.&lt;/P&gt;&lt;P&gt;int = strlen( word1 ). WRITE int.&lt;/P&gt;&lt;P&gt;int = strlen( word2 ). WRITE / int.&lt;/P&gt;&lt;P&gt;int = strlen( word3 ). WRITE / int.&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;Regards,&lt;/P&gt;&lt;P&gt;Chandru&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Feb 2008 09:25:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-string-length/m-p/3445554#M827500</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-19T09:25:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to get string length?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-string-length/m-p/3445555#M827501</link>
      <description>&lt;P&gt;Adding:&lt;/P&gt;&lt;P&gt;It can be used also in conditional expressions&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;      IF ( strlen( lv_all_mails ) + strlen( another_email ) ) LE 130.&lt;BR /&gt;          CONCATENATE lv_all_mails another_email INTO lv_all_mails SEPARATED BY space.&lt;BR /&gt;      ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 07 Mar 2023 15:47:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-string-length/m-p/3445555#M827501</guid>
      <dc:creator>HETEROCIGOTO</dc:creator>
      <dc:date>2023-03-07T15:47:26Z</dc:date>
    </item>
  </channel>
</rss>

