apl-mhd

java split function

Jan 22nd, 2019
102
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. String string = "004-034556";
  2. String[] parts = string.split("-");
  3. String part1 = parts[0]; // 004
  4. String part2 = parts[1]; // 034556
RAW Paste Data