FindAndDelete

Remove every occurrence of a subscript from a script in place.

Synopsis

Declared in <script/interpreter.h>

int
FindAndDelete(
    CScript& script,
    CScript const& b);

Return Value

The number of occurrences removed.

Parameters

NameDescription
scriptThe script to modify.
bThe subscript to find and delete.