Try with charAt(0) like
var header = $('.time'+col).text();
alert(header.charAt(0));
You can also use substring like
alert(header.substring(1));
And as @Jai said you can use slice also like
alert(header.slice(0,1));
Try with charAt(0) like
var header = $('.time'+col).text();
alert(header.charAt(0));
You can also use substring like
alert(header.substring(1));
And as @Jai said you can use slice also like
alert(header.slice(0,1));