로딩
요청 처리 중입니다...

String comparisons - compare match first last wordend

 String comparisons - compare match first last wordend

There are 6 string subcommands that do pattern and string matching. These are relatively fast operations, certainly faster than regular expressions, albeit less powerful. string compare string1 string2 Compares string1 to string2 and returns: -1 .....

If string1 is less than string2 0 ........ If string1 is equal to string2 1 ........

If string1 is greater than string2 These comparisons are done alphabetically, not numerically - in other words "a" is less than "b", and "10" is less than "2". str...