How to split a comma-separated string Basically the .split() method will split the string according to (in this case) delimiter you are passing… March 5, 2024 in core java