Replace
ID | 215 |
---|---|
Link Reference | Not set |
Link Credits | Not set |
Link Technical Documentation | Not set |
PlCodelang | Python |
PlGroup | Strings |
PlItemTitle | Replace |
Code | # http://www.tutorialspoint.com/python/string_replace.htm str1 = "abc#def" str1 = str1.replace("#",';") print str1 # Output: abc;def |
Result Example |