is there a way to remove the newline character at the end of lines read from files?
I did it with:
if( .... then mystring = car(parseString(line "\n") ..............)
Is a skill function available to do that?
Hi,from what I know there is no skill function to do it straight forward.
I've used the method that you noted, but you might also do something like the following:
line = strncat("" line strlen(line)-1)
); when the line ends with a carriage return, remove it
I don't know how this compares with the other approach, in terms of speed/resources, so I'll leave that as an excercise for the interested reader ;-)
In reply to skillUser:
In reply to Andrew Beckett:
Thank you all for the suggestions.