Answer:
You can use the split method of String class from JDK to split a String based on a delimiter splitting a comma-separated String on a comma, breaking a pipe delimited String on a pipe or splitting a pipe delimited String on a pipe.
Step-by-step explanation: