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:
Created | Jul 25, 2017 |
Warriors Trained | 188 |
Total Skips | 8 |
Total Code Submissions | 326 |
Total Times Completed | 109 |
JavaScript Completions | 109 |
Total Stars | 0 |
% of votes with a positive feedback rating | 59% of 50 |
Total "Very Satisfied" Votes | 22 |
Total "Somewhat Satisfied" Votes | 15 |
Total "Not Satisfied" Votes | 13 |
Total Rank Assessments | 51 |
Average Assessed Rank | 7 kyu |
Highest Assessed Rank | 6 kyu |
Lowest Assessed Rank | 8 kyu |