LEN

Returns the length (number of characters) in a particular character string (field or text).

Reporting Area(s):

General

Required Parameters:

  1. Character expression for which you want the length

Optional Parameters:

None

Example(s):

LEN(cocrsenm) returns the length of the course name field (i.e. 95)

LEN(TRIM(cocrsenm)) returns actual length of course name with spaces cleared off the end

Notes:

Standard FoxPro Function