Thanks for thatYou posted this response 2 minutes after the previous response. This means you obviously didn't take the time to read the String API to find out more information about the parameters for the method. Take some time to learn about new methods before claiming they don't work.
but if i do something like this it falls over
String temp = s.substring(12, 3);