G2A Many GEOs
SHARE
TWEET

Dubstep

MiroJoseph Apr 8th, 2020 145 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. My:
  2. object Wub {
  3. def songDecoder(song: String): String = song.split("WUB").toList.filter(x=>x!="").mkString(" ")
  4. }
  5.  
  6. Other:
  7. object Wub {
  8.  
  9.   def songDecoder(song: String): String =
  10.     song.replaceAll("(WUB)+", " ").trim
  11. }
  12.  
  13. object Wub {
  14.   def songDecoder(song: String): String = song.split("WUB").filter(!_.isEmpty).mkString(" ")
  15. }
RAW Paste Data
Ledger Nano X - The secure hardware wallet
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top