<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 3/14/14 4:18 PM, Fairlight wrote:<br>
    </div>
    <blockquote cite="mid:20140314201822.GC6345@iglou.com" type="cite">
      <pre wrap="">On Fri, Mar 14, 2014 at 03:23:41PM -0400, Kenneth Brody thus spoke:
</pre>
      <blockquote type="cite">
        <pre wrap="">
My docs say that LEN() and EDIT() only take fields, not expressions.
</pre>
      </blockquote>
      <pre wrap="">
Right from the in-cabe help file:

         LEN (exp)          Finds length of field or expression.             

I could screenshot it, if you'd like.

mark-&gt;
</pre>
    </blockquote>
    Yeah, that cabe help is incorrect.&nbsp; I don't ever remember len being
    able to take a literal expression.<br>
    The online manual at fptech does state "
    <meta http-equiv="content-type" content="text/html;
      charset=ISO-8859-1">
    <font style="font-family:'Times New Roman'; color:#010100; ">Where
      "f "is a dummy or real field", </font><font
      style="font-family:'Times New Roman'; color:#010100; "><font
        face="Helvetica, Arial, sans-serif">although you can use a long
        variable name in the function which can be uncast for length (fp
        v. 5.0.14):<br>
        <br>
        Then: declare origexp(40,*)<br>
        <br>
        Then: origexp = "testing"<br>
        .<br>
        .<br>
        Then: </font></font><font style="font-family:'Times New Roman';
      color:#010100; "><font face="Helvetica, Arial, sans-serif"><font
          style="font-family:'Times New Roman'; color:#010100; "><font
            face="Helvetica, Arial, sans-serif">declare shortexp<br>
            <br>
          </font></font>Then: shortexp=""{origexp{""<br>
        <br>
        Then: msgbox "Length of trimmed origexp = "&lt;len(shortexp)<br>
        <br>
        <br>
        This len function here will return "7".<br>
        <br>
        Bruce<br>
      </font></font>
  </body>
</html>