-1
"Hey Bob, I need a new acronym. Something better than 'Automated Support System'. I need you to fabricate me an acronym!"
"Sure thing Joe! I'd love to fabricate an elaborate way to renovate, and not replicate something that you can tolerate."
"Alright Bob, make sure it can separate itself from the old acronym we need to terminate! It'll be great, or at least, that's just what I speculate."
Okay, apologies. I had a lot of fun writing that. Here's the challenge:
You are now Bob. You need to write a program that accepts a string of words from standard input:
This is an example string of words
The character encoding must be ASCII. Delimeters can be spaces and newlines only. From this string of words, it forms an acronym, which it shoots straight to standard output (or equivalent output log):
T.I.A.E.S.O.W.
The program must read the words, case-insensitive, and output the first letter of each word, capitalized, followed by a period.
This is code-golf. Shortest program wins. Go nuts!
This differs from the challenge marked as duplicate in that here there no stop words and the acronym includes dots. So I think this is not a duplicate – Luis Mendo – 2016-04-01T09:26:44.113
@LuisMendo I think almost all the answers could just have the word check parts removed, and then instead of flattening the list of characters have them be joined by periods. To me, those feel like trivial modification. – FryAmTheEggman – 2016-04-01T16:44:05.957