470,614 Members | 1,396 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,614 developers. It's quick & easy.

Help: replace one char with more chars

Hi,

How do I replave 'A' with 'ABC' ?

Thanks

Hai
Jul 19 '05 #1
2 2358
Hai Xu wrote:
Hi,

How do I replave 'A' with 'ABC' ?

Thanks

Hai

Try to find a perl book or google it first. It's really too basic.

Jul 19 '05 #2
In article <c2**********@news3.bu.edu>, Nick
<nb*****************@hotmail.com> wrote:
Hai Xu wrote:
Hi,

How do I replave 'A' with 'ABC' ?

Thanks

Hai

Try to find a perl book or google it first. It's really too basic.


Or try http://learn.perl.org

Or try

perldoc perlop

and look for tr/// and s/// operators.

Note: this newsgroup is defunct. Try comp.lang.perl.misc in the future
(after you have done a lttle reading).
Jul 19 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

10 posts views Thread by Case Nelson | last post: by
20 posts views Thread by titi | last post: by
9 posts views Thread by santosh | last post: by
5 posts views Thread by Michele Petrazzo | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.