Extracting substrings from a char variableI have a char variable with the following: 2012-12-01_12:00:00 I am trying to extract the year...