blob: 77c0c9014395c65621ecbb66b97fdfd8ec808f3d [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_replace21.adm";
6
7let $c1 := replace2("abracadabra","Bra", "kkk" , "")
8let $c2 := replace2("abracadabra","Bra", "kkk" ,"i")
9let $c3 := replace2("helloworld","hello world", "kkk" , "x")
10return {"result1": $c1,"result2": $c2,"result3": $c3}