Draft

Rock Bottom Speak

Description:

Remember that one episode of spongebob where Spongebob and Patrick were leaving glove world and got on the wrong bus and ended up at Rock Bottom? If so, do you remember the creature that worked at the bus station, that talked like this:

https://www.youtube.com/watch?v=LGTe9bLQNIE

For this challenge, you're going to create a function that translates plain english into the rock bottom accent that that creature has.

The function should take a string, and replace every space between the words with a 'PLHHHH', which is representative of the raspberry noise that he makes.

For example:

   rockBottom("I cant understand your accent") // => 'IPLHHHHcantPLHHHHunderstandPLHHHHyourPLHHHHaccent'
  rockBottom('The next bus wont be coming until morning') // => 'ThePLHHHHnextPLHHHHbusPLHHHHwontPLHHHHbePLHHHHcomingPLHHHHuntilPLHHHHmorning'

Similar Kata:

Stats:

CreatedJul 25, 2017
Warriors Trained188
Total Skips8
Total Code Submissions326
Total Times Completed109
JavaScript Completions109
Total Stars0
% of votes with a positive feedback rating59% of 50
Total "Very Satisfied" Votes22
Total "Somewhat Satisfied" Votes15
Total "Not Satisfied" Votes13
Total Rank Assessments51
Average Assessed Rank
7 kyu
Highest Assessed Rank
6 kyu
Lowest Assessed Rank
8 kyu
Ad
Contributors
  • K-Calderon-ASC Avatar
  • shaddyjr Avatar
Ad