Comment Comment by Kaze404 I like the regex example, but the others wouldn't pass code review from me, unfortunately. Reducing a couple lines isn't worth the code being less obvious. parent Kaze404 4 years ago