Problem 1721. Backslang, odds are you used it at some point in time...
So backslang is a language that can be used to communicate in an easy decode code, if people know the rules of decoding it. Well this backslang follows rules that are fairly customary. You take the first letter of a word and put it in the end, then add 'ay' on the end.
Hatstay tiay! Onay oremay onay esslay. Ellway erehay reaay omesay xampleseay:
str = 'The sky is falling, the sky is falling, or is it?'
output = Hetay kysay siay allingfay, hetay kysay siay allingfay, roay siay tiay?
Ustjay aay otenay, omesay unctuationpay ndaay apitalscay oday ountcay.
Oodgay Ucklay!
Solution Stats
Problem Comments
-
2 Comments
Jean-Marie Sainthillier
on 17 Jul 2013
Whaouh, in 17 size ?
Chaya N
on 21 Oct 2016
Hey, Its Pig Latin!!!
Solution Comments
Show commentsProblem Recent Solvers70
Suggested Problems
-
Return a list sorted by number of occurrences
2776 Solvers
-
1582 Solvers
-
433 Solvers
-
Project Euler: Problem 3, Largest prime factor
1430 Solvers
-
Eliminate Polysyllabics: Long live short words!
114 Solvers
More from this Author17
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!