removeExcessIndentation
Removes excess indentation characters from the node text. This method modifies the provided NodeText by removing a specified number of elements starting from the given index.
Return
the new index position after removal
Parameters
nodeText
the node text to modify
startIndex
where to start removing
count
how many characters to remove