Read specific data value

1 view (last 30 days)
joo tan
joo tan on 13 Sep 2012
Dear all
i have a file with has 3 column. I have problem to read second column.The example of second is like below;
2006-03-08T12:00
I just need value 12 (five and six last digit)..How i can solve it?
  2 Comments
joo tan
joo tan on 13 Sep 2012
i meant, if we see 4 last digit is 12:00..i just need to number 12..

Sign in to comment.

Answers (1)

Walter Roberson
Walter Roberson on 13 Sep 2012
YourString(end-4:end-3)

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!