SHARE
TWEET

Untitled

a guest Apr 21st, 2017 42 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ReadList[StringToStream["1 2 3n4 5nn6 7n8 9"], Number, RecordLists -> True,
  2.  NullRecords -> True]
  3.    
  4. {{1, 2, 3}, {4, 5}, {6, 7}, {8, 9}}
  5.    
  6. ReadList[StringToStream["1 2 3n4 5nn6 7n8 9"], String, RecordLists -> True,
  7.  NullRecords -> True]
  8.    
  9. {{"1 2 3"}, {"4 5"}, {""}, {"6 7"}, {"8 9"}}
  10.    
  11. ReadList[StringToStream["1 2 3n4 5nn6 7n8 9"], Record, RecordLists -> True,
  12.  NullRecords -> True]
  13.    
  14. {{"1 2 3"}, {"4 5"}, {""}, {"6 7"}, {"8 9"}}
RAW Paste Data
Top