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 Comment

Please post a slightly larger example of your data, and tell us where time is in each row.

Answers (0)

This question is closed.

Asked:

on 13 May 2014

Closed:

on 13 May 2014

Community Treasure Hunt

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

Start Hunting!