Problem 38 and moved IsPanDigital to string helper