( int sz, String s )
| 46 | |
| 47 | // Fixed width field |
| 48 | public SB fix( int sz, String s ) { |
| 49 | for( int i=0; i<sz; i++ ) |
| 50 | _sb.append( i < s.length() ? s.charAt(i) : ' '); |
| 51 | return this; |
| 52 | } |
| 53 | public char at(int idx ) { return _sb.charAt(idx); } |
| 54 | |
| 55 | // Not spelled "p" on purpose: too easy to accidentally say "p(1.0)" and |