Length of char - repalce blanks by '0'

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 commentaire

Star Strider
Star Strider le 13 Mai 2014
Please post a slightly larger example of your data, and tell us where time is in each row.

Réponses (0)

Cette question est clôturée.

Clôturé :

le 13 Mai 2014

Community Treasure Hunt

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

Start Hunting!

Translated by