|
Answer» Hi, i was WONDERING if it's possible to replace the text that is written. If for arguements sake you take this example.
Code: [Select]@Set /P Text= If the character types hi. I want it to replace the h with a different letter and the i with a different letter. I would then do this with every letter. So it's LIKE a translator but in a batch file.Yes it's possible. You'd PARSE the input string character by character and implement a lookup table to perform character replacement. An interesting PROJECT, and one that you'll enjoy completing, I'm sure, and for which you'll get a GOOD grade.
|