> For the complete documentation index, see [llms.txt](https://docs.keyfax.biz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.keyfax.biz/product-suite/admin/databox-expressions/text-expressions/csv.md).

# CSV

A Comma Separated Variable (CSV) is a string of textual items separated by commas e.g. "gold, silver, bronze". The CSV expression returns the nth item (1 being the *first*) from a Comma Separated Variable. If the entry is not found, the result returned is "" (an empty string).

<table><thead><tr><th>Expression</th><th>Databox Value</th><th width="179">Result</th><th>Comments</th></tr></thead><tbody><tr><td><code>CSV(2)</code></td><td>gold,silver,bronze</td><td>silver</td><td>Will return the specified section from within a Comma Separated Variable (CSV)</td></tr><tr><td><code>CSV(3)</code></td><td>18843,49978,2114</td><td>2114</td><td></td></tr></tbody></table>
