I have a String, for example : "My brother, John, is a handsome man."
I would like to split this to an array such that the output is:
"My" , "brother", "," , "John", "," , "is", "a", "handsome", "man", "."
Can anyone help me with this? I need to do this on Java.