drop dataverse test if exists; | |
create dataverse test; | |
use dataverse test; | |
write output to nc1:"rttest/string_replace21.adm"; | |
let $c1 := replace2("abracadabra","Bra", "kkk" , "") | |
let $c2 := replace2("abracadabra","Bra", "kkk" ,"i") | |
let $c3 := replace2("helloworld","hello world", "kkk" , "x") | |
return {"result1": $c1,"result2": $c2,"result3": $c3} |