To delete a specific element from a List item, use the DELETE_LIST_ELEMENT Built-in subprogram.
When you call DELETE_LIST_ELEMENT, you indicate which element to delete by specifying the List name or ID and the List element index.
List Element |
List Index |
List Value |
---|---|---|
1993 |
1 |
1993 |
1994 |
2 |
1994 |
1995 |
3 |
1995 |
For example, if you specify:
Delete_List_Element('calendar',1);
the value '1993' will be deleted from the List item.