Find state names that end with the letter A - MATLAB Cody - MATLAB Central

Problem 61. Find state names that end with the letter A

Difficulty:Rate

Given a list of US states, remove all the states that end with the letter A.

Example:

 Input  s1 = 'Alabama Montana Nebraska Vermont Nevada'; 
 Output s2 is '   Vermont '; 

Solution Stats

23.9% Correct | 76.1% Incorrect
Last Solution submitted on May 09, 2025

Problem Comments

Solution Comments

Show comments
PIVlab surpasses 100K all-time File Exchange downloads
During the past twelve months, PIVlab, a MATLAB Community Toolbox for particle...
4
8

Problem Recent Solvers1187

Suggested Problems

More from this Author96

Problem Tags

Community Treasure Hunt

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

Start Hunting!