in reply to Remove newline character from start of string
Note: Coded Before Coffee; no warranties, no promises.chomp($string); my $rev = reverse($string); chomp($rev); $string = reverse($rev);
----
I Go Back to Sleep, Now.
OGB
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Remove newline character from start of string
by danj35 (Sexton) on May 10, 2010 at 13:19 UTC | |
|
Re^2: Remove newline character from start of string
by afoken (Chancellor) on May 11, 2010 at 05:21 UTC |