title: How to get hours and minutes from a String variable ?
body: <p>I have a <code>String timme = "13:10"</code>. I was wondering how would I best go about getting the hours and minutes and converting them into integers. i.e. int hours = 13 , int minute = 10. I know a for-loop wouldn't be the most efficient way, is there anything simpler?</p>