blob: 510beb3d48047e0a9ae87ac244ad4d6bf38b5657 [file] [log] [blame]
ilovesoupc9fef1d2012-07-08 19:30:42 +00001drop dataverse test if exists;
2create dataverse test;
3use dataverse test;
4
5write output to nc1:"rttest/string_end-with5.adm";
6
7let $c1 := end-with("ends","s")
8let $c2 := end-with("start",null)
9let $c3 := end-with(null,null)
10let $c4 := end-with("",null)
11let $c5 := end-with("","")
12let $c6 := end-with(null,"")
13
14return {"f1": $c1, "f2": $c2, "f3": $c3, "f4": $c4, "f5": $c5, "f6": $c6}