I have 2 strings as shown below:
String paramNum = "99999256";
String opCode = "99999";
On the String paramNum I want to extract that part of the string which appears after the string value contained in opCode
So with the above example: the result should be "99999256" - "99999" = "256".
Parse paramNum (99999256) and reach to a position of after 99999 and then do a substring till end of the string. But I am not sure on how to reach to that position?
Note this is only a symbolic representation of what I want to do with these strings and they do mean a subtraction on 2 int.