For this assignment, you will manipulate an input String using String functions. The first input will be a String of any length that you will be manipulating. The second input String will be a "pivot" String that is used to shuffle around the contents of the first input String.
If the pivot String is found somewhere inside of the first input String, then you will swap the contents of the first input String that appear before and after the pivot String. For example, if the first input is "OneTwoThree", and the pivot String is "Two", your output will be "ThreeTwoOne". Note that the contents of the first input String before and after the pivot String have been swapped, but the order of characters within those substrings remains the same.
Can you help me with this. I have no desire to do this and it's for a grade.