home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 24 / AACD 24.iso / AACD / Online / Epic4 / share / epic / help / 6_functions / chop < prev    next >
Encoding:
Text File  |  2001-03-21  |  453 b   |  21 lines

  1. Synopsis:
  2.    $chops(<num> <text>)
  3.  
  4. Technical:
  5.    This function chops <num> characters from the end of <text>.
  6.  
  7. Practical:
  8.    It is an excellent shortcut for mid(6) expressions starting at the first
  9.    character of <text>.
  10.  
  11. Returns:
  12.    <text> with <num> characters removed from the end
  13.  
  14. Examples:
  15.    $chop(5 abcdef)          /* returns "a" */
  16.    $chop(2 fnord)           /* returns "fno" */
  17.  
  18. See Also:
  19.    left(6); right(6); mid(6)
  20.  
  21.