src/main/java/com/zandero/utils/StringUtils.java
public static List<String> split(String text, String regEx) {

		if (isNullOrEmptyTrimmed(text)) {
			return Collections.emptyList();
		}

		String[] items = text.trim().split(regEx);
		return Arrays.asList(items);
	}
public static List<String> split(String text, String regEx) {

		if (isNullOrEmptyTrimmed(text)) {
			return Collections.emptyList();
		}

		String[] items = text.trim().split(regEx);
		return Arrays.asList(items);
	}
Wrapper around String.split(regEx) method

@param text  to split
@param regEx regular expression to use for splitting
@return list of strings or empty list if could not split