Advertisement
Guest User

Untitled

a guest
Aug 17th, 2017
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. set rightis to "/www/www2/www4/index.html"
  2. set thepath to reverse of (characters of "/www/www2/www4/index.html") as text
  3. set theSuffix to text 1 thru ((offset of "/" in thepath) - 1) of thepath
  4. set theSuffix to reverse of (characters of theSuffix) as text
  5. return theSuffix
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement