[Omaha.pm] Search and replace

Jay Hannah jay at jays.net
Thu Sep 4 10:50:21 PDT 2008


Challenge:  Write this before I get around to it this afternoon 
sometime.  :)

j

Objective: find $search_string in $seq and replace it with the opposite case

Search is case sensitive. Two examples:

        search_string=  att            ATT
        seq=            gaattcacccgat  GAATTCACCCGAT
        result=         gaATTcacccgat  GAattCACCCGAT




More information about the Omaha-pm mailing list