String convertCase ( String str ) { if ( str == null ) { return null ; } return sensitive ? str : str . toLowerCase ( ) ; }
Converts the case of the input String to a standard format . Subsequent operations can then use standard String methods .