Adding & Removing Strings
add(value)
Adds a single string if valid, unique, and within limits.
1manager.add("orange");
addBulk(values)
Adds multiple strings with detailed results for added and skipped items.
1manager.addBulk(["kiwi", "pear", "apple"]);
remove(value) / removeBulk(values)
Remove single or multiple strings.
1manager.remove("banana");2manager.removeBulk(["kiwi", "apple"]);
replace(oldValue, newValue)
Replace a string with a new one (valid & unique).
1manager.replace("apple", "grape");
delete(index)
Remove by index.
1manager.delete(0);