Changeset 224:679fb4a215dc
- Timestamp:
- 05/19/08 08:35:49
(4 months ago)
- Author:
- Frank Benoit <benoit@tionex.de>
- branch:
- default
- Message:
Added the compareToIgnoreCase to utils
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r212 |
r224 |
|
| 600 | 600 | } |
|---|
| 601 | 601 | |
|---|
| | 602 | public int compareToIgnoreCase( String src, String other ){ |
|---|
| | 603 | return tango.text.Unicode.toFold(src) < tango.text.Unicode.toFold(other); |
|---|
| | 604 | } |
|---|
| | 605 | |
|---|
| 602 | 606 | public bool startsWith( String src, String pattern ){ |
|---|
| 603 | 607 | if( src.length < pattern.length ){ |
|---|