need to separate the string,i need to separate it.The String is dynamically add.
For Example
1.String a="C:\Wowza Media Systems\Wowza Media Server 2.2.3\content\user2\weight.mp4"
i need to separate it user2
2. String a="C:users\Wowza Media Systems\Wowza Media Server 2.2.3\content\user2\sample.flv"
So i added the value dynamically for a, but i need to separate the string before weight.mp4 after content .