Java tutorial
//package com.java2s; import java.util.Arrays; import java.util.List; public class Main { private static final String SPILCT = "|"; public static List<String> devideNum(String numStr) { return Arrays.asList(numStr.split("\\" + SPILCT)); } }