String str = "Test-String";String strNew = str.substring(0,3);
String str = "Test-String";String strNew = str.substring(4);