##  replace(self, old_string, new_string) {#str-str}
Remplace le texte de toutes les cellules par une nouvelle chaîne.



```python

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


| Paramètre| Taper| Description|
| :- | :- | :- |
| old_string | str | Ancienne valeur de chaîne.|
| new_string | str | Nouvelle valeur de chaîne.|



###  Voir également
* module [`aspose.cells`](../../)
* classe [`Worksheet`](/cells/python-net/fr/aspose.cells/worksheet)
