![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.python archiveRe: A simple question string.replace
From: Emile van Sebille <emile@fenx.com>
Date: Tue Jan 31 2006 - 05:43:56 CET
"Haibao Tang" <tanghaibao@gmail.com> wrote in message
Yes --
data = """1.1 2.3
newdata = data.replace("1.1","1.x")
but that's probably not what you want.
Emile
|