Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

Length of char - repalce blanks by '0'

6 visualizaciones (últimos 30 días)
Céline Bachelier
Céline Bachelier el 13 de Mayo de 2014
Cerrada: Walter Roberson el 13 de Mayo de 2014
Hello,
I have an array of string which is the time and looks like: 235920 235930 235940 235950 10 20 I would like to put '0' at each begining of the string each time that 00:00 or 00:10 .. appears. In asking the length at each line => 6.
I would like to replace all the blanks by 0 or find a solution to get the all time.
Thanks in advance.
Regards
Céline
  1 comentario
Star Strider
Star Strider el 13 de Mayo de 2014
Please post a slightly larger example of your data, and tell us where time is in each row.

Respuestas (0)

La pregunta está cerrada.

Community Treasure Hunt

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

Start Hunting!

Translated by