Is it expected behaviour for the ‘loadstrings()’ function to skip blank or empty lines in Processing 3? The documentation doesn’t mention this, but that seems to be the case. I’m loading a small text file which has some empty lines (not even spaces), and it seems to be skipping them.
Returns:
A String containing the contents of the line, not including any line-termination characters, or null if the end of the stream has been reached
Thanks. I should have done more investigation before posting. I found the problem, it has nothing to do with the loadStrings() function, but with another function that was using the array of strings. Seems it skips empty lines.