Advertisement
Guest User

Untitled

a guest
Jun 8th, 2015
295
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. var i: int = 0
  2. if split("http://toad1359.koding.io/x.html", "/").len() > 3:
  3. for junkstring in split("http://toad1359.koding.io/x.html", "/")[4 .. (len(split("http://toad1359.koding.io/x.html", "/"))-1)]:
  4. if i != split("http://toad1359.koding.io/x.html", "/")[4 .. (len(split("http://toad1359.koding.io/x.html", "/"))-1)].len():
  5. path.add(junkstring & "/")
  6. else:
  7. path.add(junkstring)
  8. i += 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement