[expression] more work on wordwrap function based on wonder-dk comments