in #clojurescript
(clojure.string/replace "Hello World Johnny" #" " "")
---
RT @swapnakpanda
🚀 Problem Solving
Given a string input, you need to extract only non-whitespace characters and returns the string.
Example:
Input → "Hello World Johny"
Output → "HelloWorldJohny"
Can you write just a one-liner code for it?
Hint in JavaScript: You can use split, join etc.
https://twitter.com/swapnakpanda/status/1446029146853818368