Java tutorial
import java.util.Scanner; public class Main { public static void main(String[] args) { String str = "start 1 2 123455"; Scanner sc = new Scanner(str); String param1 = sc.next(); int param2 = sc.nextInt(); int param3 = sc.nextInt(); int param4 = sc.nextInt(); System.out.println(param1 + "\t" + param2 + "\t" + param3 + "\t" + param4); } }