Since we have lodash now, use its string methods.