The other day I ran into an interesting task and decided to share it with you. The task is as follows: it is necessary to check the presence of numbers in the string. The main condition is not to use regular expressions.
A language, in principle, any, is interesting exactly the approach to the solution. Well, and, of course, it is desirable, the optimized decision.