Problem 61035. The MATLAB Treasure Hunt – Decode the Ancient Script by Removing Strange Symbols from the Message

Emerging from the Maze of Numbers, you find a tablet etched with symbols and letters — an Ancient Script!
The message is hidden among strange symbols. To uncover it, you must keep only alphabetic characters and remove everything else.
Given a string or character array s, return a new string decoded containing only the letters (A–Z, a–z).
Each decoded message brings you closer to the final treasure!

Solution Stats

85.71% Correct | 14.29% Incorrect
Last Solution submitted on Oct 25, 2025

Solution Comments

Show comments

Problem Recent Solvers12

Suggested Problems

More from this Author22

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!