Comment overthinking it!!! (Score 2) 168
I know it is not a fancy or automated solution. But is should provide a cheap solution to most of the functions that the poster wants.
If the code and the comments disagree, then both are probably wrong. -- Norm Schryer