Guest User

Untitled

a guest
May 26th, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1.  
  2. (defun is-full-uri (uri)
  3. "Check if the URI is actually a URI."
  4. ; If the length of the part of a string before : is not equal to the lenth of the string, then it is a URI.
  5. (if (multiple-value-bind (list len) (split-sequence:split-sequence #\: uri)
  6. (equal (length (first list)) len)) nil t))
Add Comment
Please, Sign In to add comment