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  阅读(102)  评论(0)    收藏  举报