On Tue, Oct 16, 2012 at 10:10 AM, xiyoulaoyuanjia <xiyoulaoyuan...@gmail.com> wrote: > i want math the middle of 123 and 456 string! > the Test Case below: > ------------------------------------------ > 123faf456fafafafa----->faf > > 33312323ff456456--->23ff
Do you mean you want to add the 2 sets 3 digit chars/numbers found somewhere in the strings? Do you have any marker to let you know where those numbers will be found? Either side of the first non-digit string, maybe? -- a Andy Bach, afb...@gmail.com 608 658-1890 cell 608 261-5738 wk -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/