I would like to include this line
"P07091 MMCNEFFEG P06870 IVGGWECEQHS SP0A8M0 VVPVADVLQGR P01019 VIHNESTCEQ"
into an array similar to ruby.
["P07091 MMCNEFFEG", "P06870 IVGGWECEQHS", "SP0A8M0 VVPVADVLQGR", "P01019 VIHNESTCEQ"]
using split does not return what I would like due to line breaks.
string arrays ruby
Sharon yang
source share