blob: b4ab93a7df568832cbdee889866516cfbac4edb4 [file] [log] [blame]
khfaraaz82@gmail.comc526fe92012-08-10 22:09:13 +00001/*
2 * Testcase Name : startwith02.aql
3 * Description : Positive tests
4 * Success : Yes
5 * Date : 19th April 2012
6 */
7
8write output to nc1:"rttest/string_startwith02.adm";
9
10for $a in [start-with("Hello","H"),
11start-with("Hello",lowercase("He")),
12start-with("Hello",""),
13start-with("Hello"," "),
14start-with("Hello",null),
15start-with("abcdef",lowercase("ABCDEf")),
16start-with("abcdef","abcdef"),
17start-with("abcdef","abc "),
18start-with("abc\tdef","abc\t"),
19start-with(" abcdef","abc"),
20start-with("0x1FF","0"),
21start-with("<ID>","<"),
22start-with("aBCDEFghI",codepoint-to-string([0041])),
23start-with("AbCDEFghI",codepoint-to-string([0041]))]
24return $a
25
26