how to replace maltipal char from string and substitute new char
Iranna Mathapati
iranna.gani28 at gmail.com
Thu Oct 12 05:45:48 EDT 2017
More information about the Python-list mailing list
Thu Oct 12 05:45:48 EDT 2017
- Previous message (by thread): Want to write a python code for sending and receiving frames over wifi/wlan0 using python
- Next message (by thread): how to replace maltipal char from string and substitute new char
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi Team,
How to replace multipal char from string and substitute with new char with
one line code
Ex:
str = "9.0(3)X7(2) " ===========> 9.0.3.X7.2
need to replace occurrence of '(',')' with dot(.) chars
output:
9.0.3.X7.2
Thanks,
- Previous message (by thread): Want to write a python code for sending and receiving frames over wifi/wlan0 using python
- Next message (by thread): how to replace maltipal char from string and substitute new char
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list