CLIP$ function

Purpose | Delete characters from a string.
Syntax | s$ = CLIP$(LEFT StringExpression, Count&) s$ = CLIP$(RIGHT StringExpression, Count&) s$ = CLIP$(MID StringExpression, Start&, Count&)

Remarks

LEFT | Returns the contents of StringExpression with Count& characters removed from the left side.
RIGHT | Returns the contents of StringExpression with Count& characters removed from the right side.
MID | Returns the contents of StringExpression with Count& characters removed starting at position Start&. The first character is considered position 1, the second position 2...

If Count& is negative, or Start& is less than one, the return value is undefined.

Restrictions | If Count& is less than one, the entire string is returned. If Start& is less than one, the results are undefined.
See also | EXTRACT$, LTRIM$, MID$, REMOVE$, REPLACE, RTRIM$, SHRINK$, STRINSERT$, STRDELETE$, TRIM$, UNWRAP$