How can i split the string in java? [duplicate]

This question already has an answer here:

BA(Bachelor of Arts),BCom(Bachelor of Commerce) to be splitted as BA(Bachelor of Arts)
BCom(Bachelor of Commerce)
into an array in java

Thanks in advance