logoalt Hacker News

toshyesterday at 4:37 PM1 replyview on HN

in k:

  s:"this  is a  sentence with       many   spaces"
  
  s@&~0&':s=" "

Replies

pillmillipedesyesterday at 8:50 PM

s@&~&':^s would be a bit shorter. is-null(^) also works on spaces