In these cases it's always best to check the jdk api documentation for the method pointed to by the error message, s5.subString in this case.
Just look up the String class and check it's methods to see if the method name and the arguments are in order. [ August 23, 2005: Message edited by: Patrick van Zandbeek ]