##  replace(self, old_string, new_string) {#str-str}
استبدال نص كافة الخلايا بسلسلة جديدة.



```python

def replace(self, old_string, new_string):
    ...
```


| معامل| يكتب| وصف|
| :- | :- | :- |
| old_string | str | قيمة السلسلة القديمة.|
| new_string | str | قيمة سلسلة جديدة.|



###  أنظر أيضا
* الوحدة [`aspose.cells`](../../)
* فئة [`Worksheet`](/cells/python-net/ar/aspose.cells/worksheet)
