toloka.client.project.template_builder.helpers.ReplaceHelperV1
| Source code
ReplaceHelperV1( self, data: Optional[Any] = None, find: Optional[Union[BaseComponent, str]] = None, replace: Optional[Union[BaseComponent, str]] = None, *, version: Optional[str] = '1.0.0')
Replaces a substring in a string.
For more information, see helper.replace.
Parameters | Type | Description |
---|---|---|
data | Optional[Any] | An input string. |
find | Optional[Union[BaseComponent, str]] | A substring to look for. |
replace | Optional[Union[BaseComponent, str]] | A substring to replace with. |
Last updated: August 28, 2023