| Calling Sequence
| SplitLines(s)
|
| Parameters
| | Name | Type | Description |
|
| s
| string | a string which may contain newlines |
|
| Return Type
| list(string) |
| Synopsis
| SplitLines takes a string and breaks it after every
newline character ('\n'). Each of these lines are placed in
an output list. If the string does not end in a newline, the
last string of the list will not end in a newline. In other
words, SplitLines just splits the string, it does not introduce
or remove any characters. |
| Examples
| > SplitLines('abc');
[abc]
> SplitLines('abc
xyz');
[abc
, xyz]
|
| See also
| FileStat, OpenPipe, ReadLine, ReadOffsetLine, ReadRawFile, TimedCallSystem |