neversaint has asked for the wisdom of the Perl Monks concerning the following question:
How can we have the universal function to identify the starting and ending position of the uppercase substring from 2 kinds of string above.my $str_type1 = "ccaatTTTGACACACACAGAAgggca"; # no dash my $str_type2 = "--aatTTTGACACACACAGAAgggca"; # with dash # note: number of dash(es) can be >= 0
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Finding Start/End Position of the Uppercase Substring
by BrowserUk (Patriarch) on Jun 24, 2007 at 18:42 UTC | |
|
Re: Finding Start/End Position of the Uppercase Substring
by FunkyMonk (Bishop) on Jun 24, 2007 at 18:50 UTC | |
|
Re: Finding Start/End Position of the Uppercase Substring
by johngg (Canon) on Jun 24, 2007 at 22:03 UTC | |
|
Re: Finding Start/End Position of the Uppercase Substring
by shigetsu (Hermit) on Jun 24, 2007 at 19:37 UTC | |
by johngg (Canon) on Jun 25, 2007 at 09:49 UTC | |
|
Re: Finding Start/End Position of the Uppercase Substring
by ysth (Canon) on Jun 24, 2007 at 19:21 UTC |