USING: splitting sequences kernel math io prettyprint ;
IN: star-struck
: star-struck ( str -- n ) [ CHAR: * = not ]
split-when [ length 1 > ] filter concat length ;
lines [ star-struck . ] each
VVNJTkc6IHNwbGl0dGluZyBzZXF1ZW5jZXMga2VybmVsIG1hdGggaW8gcHJldHR5cHJpbnQgOwpJTjogc3Rhci1zdHJ1Y2sgIAoKOiBzdGFyLXN0cnVjayAoIHN0ciAtLSBuICkgWyBDSEFSOiAqID0gbm90IF0KICAgIHNwbGl0LXdoZW4gWyBsZW5ndGggMSA+IF0gZmlsdGVyIGNvbmNhdCBsZW5ndGggOwoKbGluZXMgWyBzdGFyLXN0cnVjayAuIF0gZWFjaCAg