Transform dot delimited strings to array of strings for Node.js and the browser.