---
title: "replace_data method"
url: "https://reference.aspose.com/finance/python-net/aspose.finance.xbrl.dom/comment/replace_data/"
product: "Aspose.Finance for Python via .NET API References"
---


## replace_data(offset, count, data) {#int-int-str}

Replaces the characters starting at the specified offset with the specified string.



```python
def replace_data(self, offset, count, data):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| offset | int | The offset. |
| count | int | The count. |
| data | str | The content data. |



### See Also
* module [aspose.finance.xbrl.dom](../../)
* class [Comment](/finance/python-net/aspose.finance.xbrl.dom/comment)
