convert string to errvallist