Can someone please simplify the following 2 lines of code.

In which universe is the adding of braces a simplification?

It is in the conceptual world!

The meaning is well clarified here (to me): if (inString [inCount] == EndMarker) break;. Yet, the OP could not follow it; because, it was not simple enough for him. Reformatting helped the OP to follow the full meaning.