added str.getLines.m