blob: 852570f89c5b70f74ac5c370f5b24cbb3b4f6052 [file] [log] [blame]
khfaraaz82@gmail.comc526fe92012-08-10 22:09:13 +00001/*
2 * Description : Test string-length(string) function
3 * Success : Yes
4 * Date : 19th April 2012
5 */
6
7
8/*
9for $a in [ string-length("abcdefghijklmnopqrstu"),
10string-length("ABCDEFGHIJKLMNOPQRSTU"),
11string-length("abcdEFGHijklMNOPqrstu"),
12string-length("abcd EFGH ijkl MNOP qrstu"),
13string-length(" Hello World !!!!....:-)"),
14string-length(string-concat(["test string to","concatenate"])),
15string-length("~!@#$%^&*()_+{}:?<>/.,';`][\")]
16return $a
17*/
18
19write output to nc1:"rttest/string_strlen02.adm";
20
21for $a in [ string-length("abcdefghijklmnopqrstu"),
22string-length("ABCDEFGHIJKLMNOPQRSTU"),
23string-length("abcdEFGHijklMNOPqrstu"),
24string-length("abcd EFGH ijkl MNOP qrstu"),
25string-length(" Hello World !!!!....:-)"),
26string-length("~!@#$%^&*()_+{}:?<>/.,';`][\")]
27return $a