Text this: A generalization of a theorem by Cheo and Yien concerning digital sums