Write a java program to Reverse SubString

Given a string, startIndex and length, write a program to extract the substring from right to left. Assume the last character has index 0. The 1st argument corresponds to the string, the second argument corresponds to the startIndex and the third argument corresponds to the length. Input and Output Format: The first line of the input