On Thursday, October 12, 2017 at 10:46:03 AM UTC+1, Iranna Mathapati wrote:
> 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(
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,
--
https://mail.python.org/mailman/listinfo/python-list