| 110 | } |
| 111 | |
| 112 | int32 StringUtils::Compare(const Char* str1, const Char* str2) |
| 113 | { |
| 114 | Char c1, c2; |
| 115 | int32 i; |
| 116 | do |
| 117 | { |
| 118 | c1 = *str1++; |
| 119 | c2 = *str2++; |
| 120 | i = (int32)c1 - (int32)c2; |
| 121 | } while (i == 0 && c1 && c2); |
| 122 | return i; |
| 123 | } |
| 124 | |
| 125 | int32 StringUtils::Compare(const Char* str1, const Char* str2, int32 maxCount) |
| 126 | { |
no outgoing calls
no test coverage detected