- Will increment the pointer through the String until it finds the suffix. The suffix will be removed from the String and the pointer will be left on the left side of the removed text. If no suffix is found the pointer will simply progress to the end of the String and be left there.
Each operation should be applied to the input String and the result should be returned.
- Will moveincrement the pointer over tothrough the rightString until it finds the suffix and. The suffix will remove that part ofbe removed from the String. Leaving and the pointer will be left on the left hand side of the text that was just removed text. If no suffix is found the pointer will simply progress to the end of the String and be left there.