I have a string, say
a = "Show details1\nShow details2\nShow details3\nShow details4\nShow details5\n"
How do we split the above with the delimiter \n (a newline)?
The result should be
['Show details1', 'Show details2', ..., 'Show details5']