chen-w
7/24/2017 - 6:11 AM

split string

split string

String[] parts = s.trim().split("\\s+");

// split with multiple delimiter
String[]tokens = pdfName.split("-|\\.");

// split with number
pdfName.split("[0-9]")