Changeset 182
- Timestamp:
- Mar 26, 2007, 6:24:36 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Include/Classes/System/String.ab
r175 r182 148 148 149 149 Const Function Operator == (ByRef objString As String) As Boolean 150 Return _System_StrCmp(This , objString) = 0150 Return _System_StrCmp(This.Chars, objString.Chars) = 0 151 151 End Function 152 152 153 153 Const Function Operator == (text As *StrChar) As Long 154 Return _System_StrCmp(This , text) = 0154 Return _System_StrCmp(This.Chars, text) = 0 155 155 End Function 156 156 157 157 Const Function Operator <> (ByRef objString As String) As Boolean 158 Return _System_StrCmp(This , objString) <> 0158 Return _System_StrCmp(This.Chars, objString.Chars) <> 0 159 159 End Function 160 160 161 161 Const Function Operator <> (text As *StrChar) As Boolean 162 Return _System_StrCmp(This , text) <> 0162 Return _System_StrCmp(This.Chars, text) <> 0 163 163 End Function 164 164 165 165 Const Function Operator < (ByRef objString As String) As Boolean 166 Return _System_StrCmp(This , objString) < 0166 Return _System_StrCmp(This.Chars, objString.Chars) < 0 167 167 End Function 168 168 169 169 Const Function Operator < (text As *StrChar) As Boolean 170 Return _System_StrCmp(This , text) < 0170 Return _System_StrCmp(This.Chars, text) < 0 171 171 End Function 172 172 173 173 Const Function Operator > (ByRef objString As String) As Boolean 174 Return _System_StrCmp(This , objString) > 0174 Return _System_StrCmp(This.Chars, objString.Chars) > 0 175 175 End Function 176 176 177 177 Const Function Operator > (text As *StrChar) As Boolean 178 Return _System_StrCmp(This , text) > 0178 Return _System_StrCmp(This.Chars, text) > 0 179 179 End Function 180 180 181 181 Const Function Operator <= (ByRef objString As String) As Boolean 182 Return _System_StrCmp(This , objString) <= 0182 Return _System_StrCmp(This.Chars, objString.Chars) <= 0 183 183 End Function 184 184 185 185 Const Function Operator <= (text As *StrChar) As Boolean 186 Return _System_StrCmp(This , text) <= 0186 Return _System_StrCmp(This.Chars, text) <= 0 187 187 End Function 188 188 189 189 Const Function Operator >= (ByRef objString As String) As Boolean 190 Return _System_StrCmp(This , objString) >= 0190 Return _System_StrCmp(This.Chars, objString.Chars) >= 0 191 191 End Function 192 192 193 193 Const Function Operator >= (text As *StrChar) As Boolean 194 Return _System_StrCmp(This , text) >= 0194 Return _System_StrCmp(This.Chars, text) >= 0 195 195 End Function 196 196
Note:
See TracChangeset
for help on using the changeset viewer.