--- title: "remove from list(value a, name of list b)" slug: "basic-remove-from-list-2" updated: 2026-08-12T08:06:31Z published: 2026-08-12T08:06:31Z canonical: "docs.lobstersoftware.com/basic-remove-from-list-2" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # remove from list(value a, name of list b) This function removes value **a** from list **b**. The result of the function is the removed value or an empty string with a set empty flag if nothing was found. **NOTE:** Hidden values can be removed as well. See the explanations for the empty flag. ## Parameters | Parameter | Description | | --- | --- | | a | Value to be removed. | | b | (optional) Name of the list. Default: *default.* | ## Examples Defined is a list *myList* with values {*value*, *val1;val2*} | Parameter a | Parameter b | Result | Values in list | | --- | --- | --- | --- | | value | myList | value | val1;val2 | | value | myList | | val1;val2 | | val1;val2 | myList | val1;val2 | |