[Tutor] function to ignore case

Matt Richardson marichar@csusb.edu
Wed Jul 30 13:20:03 2003


> The typical method is to convert the strings to all uppercase or
> lowercase. See the lower() and upper() methods of the string type.
> 
> ---
> Zak Arntson

OK, that's what I thought I would have to do.  I thought it might be
easier if there were a method that would search a file for string "Foo"
and return all instances "Foo" or "foo", rather than convert the string
and the file being searched to the same case.  That's cool, I need the
practice :)

-- 
Matt Richardson
Instructional Support Technician
Department of Art
CSU San Bernardino
marichar@csusb.edu