How can I split a string using a “new line” as a delimiter? I’ve tried “\n”, but this didn’t work.
inputArray = Split( userInput$, [delimiter] )
How can I split a string using a “new line” as a delimiter? I’ve tried “\n”, but this didn’t work.
inputArray = Split( userInput$, [delimiter] )
Subject: LotusScript - Split delimiter for new line?
what are you wanting to do with the values once you split them?
Subject: RE: LotusScript - Split delimiter for new line?
Basically I’m taking data from a table in a Word document and trying to parse it into fields in a Notes document. After converting the table to text, the line breaks (for the most part) delineate the table cells.
I think I solved it using Chr(10).
Thanks!
Subject: LotusScript - Split delimiter for new line?
try something like chr(13)
Subject: RE: LotusScript - Split delimiter for new line?
Thanks! That works.
Subject: LotusScript - Split delimiter for new line?
I use Chr(10) for pretty much everything, but I believe 0 and 13 will work too.