# Remove Item in Container

This statement is use to remove a container or the container item reference in the directed path field. The directed path field can refer to a container or any item in a container. If the specified item exists, it will be removed.

The text field can contain any of the escape sequences defined in Escape Sequences.

The action test state will be set to true if there are no errors. The action test state will be false if any errors occurred. Named variable Container Error will contain the errror text. If the Stop action on error option is enabled, the action will be terminated with an error message in the case of an error.

The non existence of the specified item is not considered an error and will not cause the action test state to be set to false.

Example:

    Create container 'sample' from JSON text '{"list":["Hello World","All Done"]}'
    Remove the container item at 'sample.list[0]'

The above example will remove the Hello World item.

Containers

Directed Paths