Updated ToStringList to handled null strings and added  a TrimChars parameter.