Cody

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

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

30.18% Correct | 69.82% Incorrect
Last solution submitted on Oct 16, 2017

Problem Comments

Solution Comments

Tags

Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!