Hacker News new | ask | show | jobs
by tosh 33 days ago
in k:

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

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