Skip to main content
1 of 4
Kevin Cruijssen
  • 131.4k
  • 13
  • 144
  • 384

#05AB1E, 102 95 bytes

álA”AlfaІvo¼¯¤œ®È¨›trotŠˆƒ‹Š™ÈŸt Kilo´àma—……ÍЗŽêpa¼°«Äoµ†Çâgo¸šÉµ Whiskey Xrayµ‹nkeeâ¸lu”#ð«‡

Output is a single Titlecase and space-delimited string of NATO words.

Try it online.

Explanation:

á               # Only leave the letters of the (implicit) input
 l              # Convert it to lowercase
  A             # Push the alphabet
   ”...”        # Push all the NATO words in titlecase and space-delimited
        #       # Split the string by spaces
         ð«     # Append a space after each word in the list
           ‡    # Transliterate; map all letters in the lowercase input with this
                #  list at the same indices

See this 05AB1E tip of mine (section How to use the dictionary?) to understand why ”AlfaІvo¼¯¤œ®È¨›trotŠˆƒ‹Š™ÈŸt Kilo´àma—……ÍЗŽêpa¼°«Äoµ†Çâgo¸šÉµ Whiskey Xrayµ‹nkeeâ¸lu” is "Alfa Bravo Charlie Delta Echo Foxtrot Golf Hotel India Juliet Kilo Lima Mike November Oscar Papa Quebec Romeo Sierra Tango Uniform Victor Whiskey Xray Yankee Zulu". Credit of this compressed dictionary string goes to @ErikTheGolfer in this comment.

Kevin Cruijssen
  • 131.4k
  • 13
  • 144
  • 384