# P_csvtolist
## Syntax:
@csvtolist(**{csvString}**, **{listName}**)
## Use Case:
Parses a CSV-formatted string (properly respecting values enclosed in quotes) and populates a MudBringer List with the resulting values. If the list does not already exist, it will be created. The previous contents of the list will be cleared before insertion.
## Arguments:
- **{csvString}**: The CSV string to parse. Be sure to wrap the argument in braces `{ }` if passing it literally so commas aren't treated as procedure argument separators.
- **{listName}** : The name of the list to populate.
## Examples:
1. **/var {myCsv} {Apple,Banana,"Cherry, Sweet",Date}**
2. **{@csvtolist({%myCsv}, myFruitList)}**
## See Also:
@commandtolist
@inlist
@getcount
