Use this command to delete a group of characters from an alpha field.
DELC fn/v | Required - The name of the alpha field. |
START f/c/e | The starting position within the field. The first character in the field is at position 1. If this value isn't specified the program will set start to the first character. |
NCHR f/c/e | Required - The number of characters to delete from the field. |
EXAMPLE
define my_text type A size 25
my_text = 'This is test data'
Delc my_text Start 9 Nchr 4
msg my_text // This is data
COMMENTS
This command has the same effect as though you cut out a piece of the field and put the remaining two pieces back together, filling the end of the field with spaces.
Page url: http://www.cassoftware.com/tas/manual/deletecharacters.htm