I'm playing with the new string toys. I'm getting something out of a CSV (and I have very good reason to need to do that).
I tried this: contents = contents.substringAfter('/n') and it's not finding anything. I know I have lots of '/n' in my file because contents.split('n', 2) throws up because the regex is too complicated.
Is there something I should be using instead of /n to denote a new line in a text file?