butLast

Help Contents Data Structure Primitives Selectors butLast
butFirst bL

butLast wordorlist
bL wordorlist


if the input is a word, outputs a word containing all but the last character of the input. If the input is a list, outputs a list containing all but the last member of the input. If the input is an Array, FloatArray, IntArray or Int16Array, outputs an array of the same type as the input containing all but the last member of the input.

Example:

show bl [Hallo World]	;[Hallo]
show bl "Hallo		;hall
show bl {Hallo World}		;{Hallo}

Example:

References:

butFirst bL