lining up data in console output java
问题 I have the following extract of code below; The issue is that (element.getChildNodes().item(0).getNodeValue()) has output of a differing number of characters which then causes eventy to be moved out of line with other output from the other rows therefore giving a zig zag appearance of data instead of data in columns, i have tried experimenting with tabs and spaces. But would appreciate some help please. String eventy = null; for (int i = 0; i < list.getLength(); i++) { Element element =