return a 0 when sent an empty string