How can I write a method to find whether a given string contains a number? The method should return true if the string contains a number and false otherwise.
How can I write a method to find whether a given string contains a number? The method should return true if the string contains a number and false otherwise.