Location via proxy:
[ UP ]
[Report a bug]
[Manage cookies]
No cookies
No scripts
No ads
No referrer
Show this form
Home
Python
2D
Application
Buildin Function
Class
Data Structure
Data Type
Database
Development
Dictionary
Event
Exception
File
Function
GUI Pmw
GUI Tk
Language Basics
List
Math
Network
String
System
Thread
Tuple
Utility
XML
String replace Demo : String Replace « String « Python
Python
String
String Replace
String replace Demo
print
'tea for too'
.replace(
'too'
,
'two'
)
Related examples in the same category
1.
Replace all
2.
Replace one
3.
String replacement
4.
String method: With a minor replacement