How do I script a "Letter to Image" converter?

So recently I created an alphabet for my sci-fi military group, but that’s not the case here. What I have a problem with is scripting a letter to image converter. There are 24 images and they all have their own letter. So the script should read the player’s phrase and convert them into images that could then be displayed on the board. If any of you know how to do this, please let me know.

I was talking about something similar here:

If you happen to use spritesheets, then that will be the topic for you.
Otherwise, I made a function and structure there that will help you with converting them to images displayed on a board.

It's pretty lengthy, so I put it in this details section to shorten the post.