Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

remove new line character from string python

def func(value):
    return ''.join(value.splitlines())
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #remove #line #character #string #python
ADD COMMENT
Topic
Name
2+1 =