Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Remove from a string

by kroach (Pilgrim)
on Sep 17, 2016 at 11:35 UTC ( #1171995=note: print w/replies, xml ) Need Help??


in reply to Remove from a string

If you want to remove particularly the character sequence "", it's quite simple:
use utf8; my $string = 'ABC'; $string =~ s///g; print $string;
Result:
ABC

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1171995]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2020-10-20 01:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (208 votes). Check out past polls.

    Notices?