Java tutorial
//package com.java2s; public class Main { public static String getVideoCurrPlayTime(String time) { String[] timeArr = time.split("/"); return timeArr[0].trim(); } }