Login
·
Signup
Home
»
XtGem
»
Coding help
»
need hlp
» View post
Graham
Waplocus
var $x=1 var $offset=0 var $count=0 var $path= <xt:url type="path" />/ @loop var $start = call strpos $haystack=$path;$needle=/;$offset=$offset var $end= call strpos $haystack=$path;$needle=/;$offset=($start+1) var $name=call substr $val=$path;$start=($start+1);$length=($end-$start-1) var $offset=($start+1) var $count=($count+1) if $count < $x goto @loop endif print $name
Increase the value of x for other parts of the path
#
2017-11-18 10:56 ·
(0)
Home
»
XtGem
»
Coding help
»
need hlp
» View post
Online: Guests: 1
Log in