blob: cfca775c0d2ae2806a1a71dd51950270838d8339 [file] [log] [blame]
/*
* Testcase Name : endwith02.aql
* Description : Positive tests
* Success : Yes
* Date : 20th April 2012
*/
write output to nc1:"rttest/string_endwith02.adm";
for $a in [end-with("aBCDEFghIa",codepoint-to-string([0041])),
end-with("AbCDEFghIA",codepoint-to-string([0041])),
end-with("AbCdEfGhIjKlMnOpQrStUvWxYz","xYz"),
end-with("abcdef",lowercase("ABCDEf")),
end-with("abcdef","abcdef"),
end-with("abcdef123","ef123")]
return $a