Changeset 428
- Timestamp:
- Feb 26, 2008, 5:07:23 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Include/Classes/System/String.ab
r426 r428 355 355 End Function 356 356 357 Const Function Contains(c As StrChar) As Boolean 358 Return IndexOf(c) >= 0 359 End Function 360 357 361 Const Function Contains(s As String) As Boolean 358 362 If Object.ReferenceEquals(s, Nothing) Then … … 480 484 End Function 481 485 486 Const Function StartsWith(c As StrChar) As Boolean 487 Return IndexOf(c) = 0 488 End Function 489 482 490 Const Function StartsWith(s As String) As Boolean 483 491 Return IndexOf(s) = 0 492 End Function 493 494 Const Function EndsWith(c As StrChar) As Boolean 495 Return LastIndexOf(c) = m_Length - 1 484 496 End Function 485 497
Note:
See TracChangeset
for help on using the changeset viewer.