Site Tools


chop

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

chop [2016/08/02 22:18] (current)
Line 1: Line 1:
 +======Overview:​======
 +$chop(//​number//​ //text//)
  
 +======Summary:​=======
 +The chop() function returns the initial part of //text//, excluding the final //number// characters (code points)
 +
 +======Examples:​======
 +<​file>​
 +$chop(5 abcdef) ​         /* returns "​a"​ */
 +$chop(2 fnord) ​          /* returns "​fno"​ */
 +</​file>​
 +
 +======History:​======
 +The chop() function first appeared in EPIC4pre1.042.
chop.txt ยท Last modified: 2016/08/02 22:18 (external edit)