ilovesoup | c9fef1d | 2012-07-08 19:30:42 +0000 | [diff] [blame] | 1 | drop dataverse test if exists; |
| 2 | create dataverse test; |
| 3 | use dataverse test; |
| 4 | |
| 5 | write output to nc1:"rttest/string_matchesnull.adm"; |
| 6 | |
| 7 | let $c1 := matches("helloworld",null) |
| 8 | let $c2 := matches("",null) |
| 9 | let $c3 := matches(null,null) |
| 10 | let $c4 := matches2("helloworld",null, "") |
| 11 | let $c5 := matches2("",null, "i") |
| 12 | let $c6 := matches2(null,null, null) |
| 13 | return {"result1": $c1, "result2": $c2, "result3": $c3, "result4": $c4, "result5": $c5, "result6": $c6} |