Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var i: int = 0
- if split("http://toad1359.koding.io/x.html", "/").len() > 3:
- for junkstring in split("http://toad1359.koding.io/x.html", "/")[4 .. (len(split("http://toad1359.koding.io/x.html", "/"))-1)]:
- if i != split("http://toad1359.koding.io/x.html", "/")[4 .. (len(split("http://toad1359.koding.io/x.html", "/"))-1)].len():
- path.add(junkstring & "/")
- else:
- path.add(junkstring)
- i += 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement