how to reduce the length of a string

34 visualizzazioni (ultimi 30 giorni)
HARITHA Nambiar
HARITHA Nambiar il 12 Mar 2018
Risposto: KALYAN ACHARJYA il 12 Mar 2018
MATlab code for reducing the length of a string
  1 Commento
Birdman
Birdman il 12 Mar 2018
What do you mean by reducing? What have you tried so far?

Accedi per commentare.

Risposte (1)

KALYAN ACHARJYA
KALYAN ACHARJYA il 12 Mar 2018
You can delete the characters from strings-
%Code: delete the last five character from strings, you can choose it another way also.
S='InputString.txt'
S=S(1:end-5)

Categorie

Scopri di più su Characters and Strings in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by