Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Answer: How can I delete a part of a string?

by I0 (Priest)
on Feb 06, 2001 at 12:15 UTC ( #56635=categorized answer: print w/replies, xml ) Need Help??

Q&A > strings > How can I delete a part of a string? - Answer contributed by I0

What part of the string do you want to delete?
You might assign "" to a substr, or you might use s///, or perhaps chomp or chop, depending on how you specify the part to be deleted.

  • Comment on Answer: How can I delete a part of a string?
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2017-08-19 19:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Who is your favorite scientist and why?



























    Results (312 votes). Check out past polls.

    Notices?