Changeset 224:679fb4a215dc

Show
Ignore:
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
  • dwt/dwthelper/utils.d

    r212 r224  
    600600} 
    601601 
     602public int compareToIgnoreCase( String src, String other ){ 
     603    return tango.text.Unicode.toFold(src) < tango.text.Unicode.toFold(other); 
     604} 
     605 
    602606public bool startsWith( String src, String pattern ){ 
    603607    if( src.length < pattern.length ){