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

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

0 Comments

Elysi Cochin

Tags

Products

No products are associated with this question.

1 Answer

Answer by Thorsten on 20 Jun 2013
Accepted answer
str = str(6:end);

1 Comment

Elysi Cochin on 20 Jun 2013

thank u so much....

Thorsten

Contact us