Originally Posted by David the H.
Hm, perhaps you're right, and I was the one reading too much into the initial request. But I still have the impression that he wanted something more detailed, which is why I asked for further clarification in my first post.
my input just contains one string per line, with no blanks...
thank you all, guys, i didn't imagine my post would have started such a discussion... ternary operator?!?! brrrr....