it used to be that I would have long code like this:
$array = explode("::",$string);
$name = trim(stripslashes($array[0]));
$address = trim(stripslashes($array[1]));
$phone = trim(stripslashes($array[2]));
now, I use list to get something like this:
list($name,$address,$phone) = explode("::",$string);
the question is, there a compact way to run stripslashes() and trim() inside the list function? Anyone know of a simpler more concise way?