Remember the last valid index for an array is the length-1. The posted code goes past that value when it goes to be =
Type: Posts; User: Norm
Remember the last valid index for an array is the length-1. The posted code goes past that value when it goes to be =
Read the API doc for the String class. It has several methods that will do that.
Java Platform SE 7