I got a little program which uses the event handler to read a serial port. I got a really big string which is then assignated to a variable (string) Then I wanted to recover certain chars from it, But I got The index is out of range error. I got confused by it since the values that I want to recover are in the string[21] and string[22] and the string is way bigger than that.
