DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
2+1 =
Submit