Exercise 10 · Chapter: String ManipulationOptional+50 XP
Secret Message Decoder
Read a messy secret message. Clean it up by:
- Trimming extra spaces
- Replacing all
*with spaces - Converting to lowercase
Print the decoded message.
Example:
Input:
HELLO*WORLD*FROM*JAVASCRIPT
Output:
hello world from javascript
Need a hint?
3 available · costs 5 XP each
javascript
Output
Run your code to see the output here.