Skip to main content

All Questions

4 votes
2 answers
263 views

Design of multi-test function to validate a string

Assume that I wish to perform an action on a string (e.g., print the string) if, and only if, the string first passes several tests. The tests are diverse (and may even be complex functions themselves)...
Michael Gruenstaeudl's user avatar