index-of(tokenize("a large land is big in area", ""), "a")will produce a sequence containing all of index of every "a" -Matt -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nizamuddin, Rashid Sent: Thursday, May 17, 2007 1:47 PM To: General Mark Logic Developer Discussion Subject: [MarkLogic Dev General] Index function in xquery Is there an indexof function in xquery which returns the index of the the occurring match I wanted to know the second occurrence for "a" in the following word "a large land is big in area" I need to find out the index or the integer value of the second occurrence of a. Any advice Rashid _______________________________________________ General mailing list [email protected] http://xqzone.com/mailman/listinfo/general
