<?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: class to calculate string length in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/class-to-calculate-string-length/m-p/5273001#M1217196</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Class Name:  CL_SWF_EXP_WFSYST_STRING &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Method: LENGTH&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 01 Mar 2009 11:35:58 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-03-01T11:35:58Z</dc:date>
    <item>
      <title>class to calculate string length</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/class-to-calculate-string-length/m-p/5272994#M1217189</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;is there any class having a method to calculate the string length.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Mar 2009 06:36:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/class-to-calculate-string-length/m-p/5272994#M1217189</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-01T06:36:26Z</dc:date>
    </item>
    <item>
      <title>Re: class to calculate string length</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/class-to-calculate-string-length/m-p/5272995#M1217190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;does it have to be a class? There is  a keyword NUMOFCHARS or STRLEN to determine this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Mar 2009 06:48:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/class-to-calculate-string-length/m-p/5272995#M1217190</guid>
      <dc:creator>Sm1tje</dc:creator>
      <dc:date>2009-03-01T06:48:26Z</dc:date>
    </item>
    <item>
      <title>Re: class to calculate string length</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/class-to-calculate-string-length/m-p/5272996#M1217191</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;you can use the STRLEN. i don't think we need the class for that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you will get direcly the no. of charectes in the string.&lt;/P&gt;&lt;P&gt;try below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: lv_string type string.
data: lv_char type i.

lv_char = STRLEN(lv_sti).&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it helps you.&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>Sun, 01 Mar 2009 06:50:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/class-to-calculate-string-length/m-p/5272996#M1217191</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-01T06:50:58Z</dc:date>
    </item>
    <item>
      <title>Re: class to calculate string length</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/class-to-calculate-string-length/m-p/5272997#M1217192</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 know that we can use strlen to cslculate the string length&lt;/P&gt;&lt;P&gt;but i need some fm or class method to calculate the str length...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ravi Aswani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Mar 2009 06:57:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/class-to-calculate-string-length/m-p/5272997#M1217192</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-01T06:57:16Z</dc:date>
    </item>
    <item>
      <title>Re: class to calculate string length</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/class-to-calculate-string-length/m-p/5272998#M1217193</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;Please Check the following FMs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;STRING_LENGTH&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SWA_STRINGLENGTH_GET&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope will solve out,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;Faisal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Mar 2009 07:04:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/class-to-calculate-string-length/m-p/5272998#M1217193</guid>
      <dc:creator>faisalatsap</dc:creator>
      <dc:date>2009-03-01T07:04:00Z</dc:date>
    </item>
    <item>
      <title>Re: class to calculate string length</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/class-to-calculate-string-length/m-p/5272999#M1217194</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;You can use the FM SWA_STRINGLENGTH_GET&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: lv_length type SWAEXPDEF-ELEMLENGTH,
                 lv_string type string.

      CALL FUNCTION 'SWA_STRINGLENGTH_GET'
        EXPORTING
          expression                 =   lv_string
*         CONDENSE_NO_GAPS           =
*         CONDENSE                   =
*         WITH_LEADING_BLANKS        =
*       IMPORTING
         LENGTH                     = lv_length
*         EX_MODIFY_EXPRESSION       =
                .&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it helps you&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>Sun, 01 Mar 2009 07:05:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/class-to-calculate-string-length/m-p/5272999#M1217194</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-01T07:05:17Z</dc:date>
    </item>
    <item>
      <title>Re: class to calculate string length</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/class-to-calculate-string-length/m-p/5273000#M1217195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but i don't want to use obselete fm or fm that has not been released...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Mar 2009 07:13:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/class-to-calculate-string-length/m-p/5273000#M1217195</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-01T07:13:32Z</dc:date>
    </item>
    <item>
      <title>Re: class to calculate string length</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/class-to-calculate-string-length/m-p/5273001#M1217196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Class Name:  CL_SWF_EXP_WFSYST_STRING &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Method: LENGTH&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Mar 2009 11:35:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/class-to-calculate-string-length/m-p/5273001#M1217196</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-01T11:35:58Z</dc:date>
    </item>
    <item>
      <title>Re: class to calculate string length</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/class-to-calculate-string-length/m-p/5273002#M1217197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Helpful answer&lt;/P&gt;&lt;P&gt;thank u&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Mar 2009 11:58:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/class-to-calculate-string-length/m-p/5273002#M1217197</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-01T11:58:45Z</dc:date>
    </item>
  </channel>
</rss>

