for(int stringCounter = 0; stringCounter <= stringLength; stringCounter++) {

That says to loop while (and including) the length of the String. The length of the String is not a valid index....