MATLAB Answers


remove the first five letters of a string

Asked by Elysi Cochin on 20 Jun 2013

how to remove the first five letters of a string? whatever be the lenght of the string the first 5 letters should be removed and only the remaining should be saved in a variable.... please do reply




No products are associated with this question.

1 Answer

Answer by Thorsten
on 20 Jun 2013
 Accepted answer

str = str(6:end);

  1 Comment

thank u so much....

Join the 15-year community celebration.

Play games and win prizes!

Learn more
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!