[Tutor] pattern matching problem

cgw501@york.ac.uk cgw501 at york.ac.uk
Thu May 26 21:15:46 CEST 2005


Hi,

I have to write a function that will return the index of a line like this:

gvcdgvcgdvagTVTVTVTVTVTHUXHYGSXUHXSU

where it first becomes capital letters. I've had about a hundred different 
ideas of the best way to do this, but always seem to hit a fatal flaw. Any 
thoughts?

Thanks,

Chris


More information about the Tutor mailing list