Skip to main content
Commonmark migration
Source Link

#Octave, 22 20 bytes

Octave, 22 20 bytes

Thanks to @Luis Mendo saved 2 bytes.

@(s)setxor(32:'~',s) 

Try it online!

Other answer:

@(s)setdiff(' ':'~',s) 

Try it online!

#Octave, 22 20 bytes

Thanks to @Luis Mendo saved 2 bytes.

@(s)setxor(32:'~',s) 

Try it online!

Other answer:

@(s)setdiff(' ':'~',s) 

Try it online!

Octave, 22 20 bytes

Thanks to @Luis Mendo saved 2 bytes.

@(s)setxor(32:'~',s) 

Try it online!

Other answer:

@(s)setdiff(' ':'~',s) 

Try it online!

added 231 characters in body
Source Link
rahnema1
  • 5.7k
  • 1
  • 16
  • 22

#Octave, 2222 20 bytes

Thanks to @Luis Mendo saved 2 bytes.

@(s)setxor(32:'~',s) 

Try it online!

Other answer:

@(s)setdiff(' ':'~',s) 

Try it online!

#Octave, 22 bytes

@(s)setdiff(' ':'~',s) 

Try it online!

#Octave, 22 20 bytes

Thanks to @Luis Mendo saved 2 bytes.

@(s)setxor(32:'~',s) 

Try it online!

Other answer:

@(s)setdiff(' ':'~',s) 

Try it online!

Source Link
rahnema1
  • 5.7k
  • 1
  • 16
  • 22

#Octave, 22 bytes

@(s)setdiff(' ':'~',s) 

Try it online!