An open API service indexing awesome lists of open source software.

https://github.com/shane-staret/stringmanipulator

Java program to change a given String based on user input.
https://github.com/shane-staret/stringmanipulator

adt advanced-data-structures java queue stack

Last synced: about 1 year ago
JSON representation

Java program to change a given String based on user input.

Awesome Lists containing this project

README

          

# 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](Pictures/StringManipulatorFirst.png)

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

![Picture showing input](Pictures/StringManipulatorSec.png)

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

![Picture showing output](Pictures/StringManipulatorThird.png)