mirror of
https://github.com/dancojocaru2000/foxbank.git
synced 2025-02-23 18:59:34 +02:00
7 lines
208 B
Python
7 lines
208 B
Python
def str_range_replace(
|
|
input: str,
|
|
replace_with: str,
|
|
range_start: int | None = None,
|
|
range_end: int | None = None,
|
|
) -> str:
|
|
return input[:range_start] + replace_with + input[range_end:]
|