Extension Methods from David Bakin
Given a line from a CSV-encoded file, split it into fields.
Adds an item to a listbox as the last item, and makes sure it is visible.
If a string contains a space or a comma or a newline, quotes it, suitable for a field in a CSV file.
Extracts all fields from a string that match a certain regex. Will convert to desired type through a standard TypeConverter.