July 21, 2003 splitlines | ||||
---|---|---|---|---|
| ||||
I'm a bit confused about the behavior of split. I have this code void main() { //Validator val = new Validator(); byte [] wholeFile = file.read("C:\\temp"); char [] [] lines = file.splitlines((char[])wholeFile); for (int i = 0;i < lines.length;i++) { puts((char[])lines[i]); } //val.Validate(lines,seperator); } |
Copyright © 1999-2021 by the D Language Foundation