Select output text of WriteLine