SHARE
TWEET

Untitled

a guest Oct 25th, 2017 132 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. alphanum: charset [#"0" - #"9" #"A" - #"Z" #"a" - #"z"]
  2. id_format: [[some alphanum] "_" [some alphanum]]
  3. link: "https://drive.google.com/file/d/0B_2X1ZNAWNL9SVpXN1AzS0o4M2M/view?usp=sharing"
  4. ;returns true
  5. parse link ["https://drive.google.com/file/d/" [copy file_idd id_format] "/" ["view" | "edit"] "?usp=sharing"]
  6. dparse: func[url][
  7.     parse url ["https://drive.google.com/file/d/" [copy file_idd id_format] "/" ["view" | "edit"] "?usp=sharing"]
  8. ]
  9. ;returns false
  10. dparse[link]
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top