我想讀這個固定寬度的數據到SAS: John Garcia 114 Maple Ave.
Sylvia Chung 1302 Washington Drive
Martha Newton 45 S.E. 14th St.
我用這個代碼: libname mysas 'c:\users\LELopez243\mysas';
filename address 'c:\users\LELop
我必須在Java中編寫一個代碼,該代碼需要一個字符串並在每行(固定寬度)上放置一定數量的字符。我還需要額外增加空格以填充任何額外的點,例如,如果四個單詞只等於23個字符並且線路要求爲25個,那麼我需要輸入兩個額外的空格。 這是開始上課,所以它只需要儘可能的基本。到目前爲止,我擁有的是: public static void print (String[] theWords, int width)
的第一個字符場寬度我需要導入這種格式的文件: PParent line has some fields with fixed width
CChild line of Parent Has fixed width with different widths than Parent
CAnother Child Fixed width consistent with Child-li