Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Answer: How do I remove whitespace at the beginning or end of my string?

by Abigail-II (Bishop)
on Jul 14, 2003 at 15:08 UTC ( [id://274000]=note: print w/replies, xml ) Need Help??


in reply to Re: How do I remove whitespace at the beginning or end of my string?
in thread How do I remove whitespace at the beginning or end of my string?

Note that the /g in the two line example are pointless. There's no need to repeatedly remove all whitespace at the front or end.

Abigail

  • Comment on Re: Answer: How do I remove whitespace at the beginning or end of my string?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2024-04-20 01:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found