shanestaret / StringManipulator

Change a given String based on user input.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

StringManipulator

A simple Java program that can take a user's input and manipulate that input based on a user's instructions. This project uses a stack to account for every letter within a the user's message.


For example, say a user inputs "Hey, I guess this is a MESSAGE that I am sending into this program!":

Picture showing input

Then, you can enter in specific instructions to manipulate this message:

Picture showing input

Based on the commands "U R X Z", the message is changed so that the final message is this:

Picture showing output

About

Change a given String based on user input.


Languages

Language:Java 99.3%Language:HTML 0.7%