Post History
Ruby, 48 bytes ->a{[a.split,b=a.chars-[$/],b-[' ']].map &:size} Try this online!
Answer
#1: Initial revision
# [Ruby](https://www.ruby-lang.org), 48 bytes ```ruby ->a{[a.split,b=a.chars-[$/],b-[' ']].map &:size} ``` **[Try this online!](https://ato.pxeger.com/run?1=m72kqDSpcsHiNNuYpaUlaboWNw107RKroxP1igtyMkt0kmwT9ZIzEouKdaNV9GN1knSj1RXUY2P1chMLFNSsijOrUmuh-g4XKKRFK3mk5uTkK5TnF-WkKMUqgICygq6dQrSRjoKhIRAbxHJB1Bnn5BgoKJQbFBlCFSLUGSGrA5sXUxKTBzMTVZ0hVF1MHghCrUSy10BHAYSgqoDCyEqQVRmDVEG8smABhAYA)**