|
发表于 2006-4-28 18:11:10
|
显示全部楼层
${#parameter}
The length in characters of the value of parameter is substituted. If parameter is * or @, the value substituted is the number of positional parameters. If parameter is an array name subscripted by * or @, the value substituted is the number of elements in the array.
应该用来测试长度或者个数的。 |
|