bin/conquer.js
function listParser(str) {
	var list = str.split(',');
	for (var i = 0; i < list.length; i++)
		list[i] = list[i].replace(/(^\s?)|(\s?$)/g, '');
	return list;
}
function listParser(str) {
	var list = str.split(',');
	for (var i = 0; i < list.length; i++)
		list[i] = list[i].replace(/(^\s?)|(\s?$)/g, '');
	return list;
}
function listParser ( str ) { var list = str . split ( ',' ) ; for ( var i = 0 ; i < list . length ; i ++ ) list [ i ] = list [ i ] . replace ( / (^\s?)|(\s?$) / g , '' ) ; return list ; }
Parses the supplied string of comma seperated list and returns an array of
its values.
@param {String} str - a string on the format "value1, value2, value2".
@retruns {String[]} - a list of all the found extensions in @a str.
Parses the supplied string of comma seperated list and returns an array of its values .