Answers for "python strip \n \r"

2

remove r and n from string python

stocks = [x.replace("rn","") for x in stocks]
Posted by: Guest on April-09-2021
2

python strip newline from string

a_string = a_string.rstrip("n")
Posted by: Guest on July-01-2020

Python Answers by Framework

Browse Popular Code Answers by Language