On 10/29/2018 08:32 AM, Keith Clarke via use-livecode wrote:

Iā€™m trying to separate paths & pages from a list of URLs and so looking to 
identify the position of the last ā€˜/ā€˜ character.

function rightmostSlashOf pText
   set the itemdelimiter to "/"
   return offset(item -1 of pText, pText)
end rightmostSlashOf

--
 Mark Wieder
 ahsoftw...@gmail.com

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to