Length of char - repalce blanks by '0'
Info
This question is closed. Reopen it to edit or answer.
Show older comments
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
Star Strider
on 13 May 2014
Please post a slightly larger example of your data, and tell us where time is in each row.
Answers (0)
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!