[utils/strs] handle NULL