I need to delimit the string which has new line in it. How would I achieve it? Please refer below code.
Input:
data = \"\"\"a,b,c d,e,f g,h,i j,k,l\"
There is a method specifically for this purpose:
data.splitlines() ['a,b,c', 'd,e,f', 'g,h,i', 'j,k,l']