how to get just one character form a string contained in a list