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