functionalised string to list conversion