best way to replace first word in string?
hagai26 at gmail.com
hagai26 at gmail.com
Thu Oct 20 11:26:43 EDT 2005
More information about the Python-list mailing list
Thu Oct 20 11:26:43 EDT 2005
- Previous message (by thread): best way to replace first word in string?
- Next message (by thread): best way to replace first word in string?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I am looking for the best and efficient way to replace the first word in a str, like this: "aa to become" -> "/aa/ to become" I know I can use spilt and than join them but I can also use regular expressions and I sure there is a lot ways, but I need realy efficient one
- Previous message (by thread): best way to replace first word in string?
- Next message (by thread): best way to replace first word in string?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list