> > substring-after("From : 3 To : 50,","From 3 To : 50") Oooops. You're actually calling substring-after("From 3 To : 50","From : 3 To : 50,") - told you I was fuzzy... The end result is the same, but just thought I should correct the error. Gary