String Comparisons

=  equal
!=  not equal
<  less then
>  greater then
-n s1  string s1 is not empty
-z s1  string s1 is empty
posted @ 2011-06-04 15:32  greencolor  阅读(94)  评论(0编辑  收藏  举报