Sub string in javascript
<p>How can I sub a string according the 3th character
for example: I have the string "aaa://Google/gmail"
and I want to get a new string 
till the 3th "/", new string = "aaa://Google/"</p>
