I am trying to use a similar method for C # string.SubString(int start, int length) .
But the subscript function in Java is string.substring(int start, int end) .
I want to be able to pass in the starting position and the length of the subscript function.
Can someone help me solve this problem?
source share