Using this Method to find the index of 2nd occurrence of “/”.
IndexOf(String, Int32) Reports the zero-based index of the first occurrence of the specified string in this instance. The search starts at a specified character position.
str.indexOf("/", str.indexOf("/") + 1)+1 - this will return the index of second occurrence("/").
And it will start searching from index 7 (str.indexOf("/") + 1).
Then, using remove method to remove 2 characters from the starting index.
Remove(Int32, Int32) Returns a new string in which a specified number of characters in the current instance beginning at a specified position have been deleted.