in reply to String character replacement based on position
$ perl -le' $_ = q/atcgcgtacatcgatac/; print; s/(?<=.{8})(.)/\u$1/s; print; ' atcgcgtacatcgatac atcgcgtaCatcgatac
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: String character replacement based on position
by deibyz (Hermit) on Feb 23, 2011 at 11:13 UTC |