TPUHELP.HLB  —  LENGTH
  LENGTH

  Returns an integer for the number of characters in a buffer, range or
  string.  Note that the length of a buffer or range does not include line
  ends.

  Syntax

     integer := LENGTH ({buffer | range | string})

  Parameters

     buffer     The buffer whose length you want to determine.

     range      A range whose length you want to determine.

     string     A string whose length you want to determine.

  Example

     str_len := LENGTH ("Sir John Falstaff");

  Stores in the variable STR_LEN the number of characters in the string "Sir
  John Falstaff" -- in this example, the integer value is 17.
Close Help