Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re^3: Printing a String (TOO stupid?)by Anonymous Monk |
on Jun 18, 2014 at 07:39 UTC ( [id://1090265]=note: print w/replies, xml ) | Need Help?? |
trim :) How do I remove whitespace at the beginning or end of my string?
s/\s+$//;
In Section
Seekers of Perl Wisdom
|
|