MB-10461. SUBSTR returns null if the needle being searched lies at the end boundary of the haystack
Merge branch 'master' of github.com:couchbaselabs/tuqtng