# system.kanoa.utilities.parseTreeOptions(text)

Parses a Tree pick list's options into a list of option paths, forgiving how they were typed: one option per line, or a comma-separated list; each option optionally wrapped in single or double quotes (a quoted option may contain commas and apostrophes); the whole list optionally wrapped in [ ] (so a JSON array works too). An option's levels are split on / or \, trimmed and joined with /, so 'Plant 1 / Line 2' becomes 'Plant 1/Line 2'. Empty and repeated options are dropped and the order is kept. Unquoted options are split on commas only when the text is a single line, so a name containing a comma needs its own line or quotes.
e.g. system.kanoa.utilities.parseTreeOptions("'Kanoa Industries/T1-Acme, TX','Kanoa Enterprises / P1'") returns ['Kanoa Industries/T1-Acme, TX', 'Kanoa Enterprises/P1']

---

### Parameters

**text** `String`: The Tree options as typed or stored<br />

---

### Returns

**options** `List of String`: - the option paths, levels separated by /; an empty list if text is None or blank<br />

---

### Example

```python
text = 'text'
options = system.kanoa.utilities.parseTreeOptions(text)
```
