chop

Chop the last element from a str or list variable.

Syntax

result = chop ( variable ) ;

Arguments

list variable

Return Value

list result

Warnings

%INVALID : Cannot create variable from parent variable

%BOUNDS : No value to chop from variable

Exceptions

%ARGUMENT : Invalid arguments. Usage: result = chop ( variable ) ;

%IDENTIFIER : 'variable' argument is not a valid identifier, literal, or reference

%INVALID : 'argument' is not a list or str variable

Description

None

Examples

To execute the example below, press or modify the example to try different variations.

Related Links

None