How to split large string to get specific element

You can use regular expression for Name and based on that you can split string on behalf of all String.

Check this link definitely you will get your answer