##  replace(self, old_string, new_string) {#str-str}
Ersätter all celltext med en ny sträng.



```python

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


| Parameter| Typ| Beskrivning|
| :- | :- | :- |
| old_string | str | Gammalt strängvärde.|
| new_string | str | Nytt strängvärde.|



###  Se även
* modul [`aspose.cells`](../../)
* klass [`Worksheet`](/cells/python-net/sv/aspose.cells/worksheet)
