STRDELETE$ function

Purpose

Delete a specified number of characters from a string expression.

Syntax

s$ = STRDELETE$(string_expression, start&, count&)

Remarks

Returns a string based on copying string_expression, but with count& characters deleted starting at position start&.  The first character in the string is position 1, etc.

See also

STRINSERT$, STRREVERSE$

Example

a$ = STRDELETE$("PowerBASIC", 4, 2)

Result

PowBASIC