mirror of
				https://github.com/dancojocaru2000/foxbank.git
				synced 2025-10-31 04:46:31 +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:]
 |