
perlplexer
Deleted
Jan 17, 2001, 11:44 AM
Post #2 of 2
(2274 views)
|
Re: Help In Putting Away A \n Sign...
[In reply to]
|
Can't Post
|
|
Where is your "\n" sign, as you call it, in particular? Is it at the end of the string? Anyway, 1) chomp $mystring; # this will remove "\n" at the end of the string 2) $mystring =~ tr/\n//d; # this will remove all "\n"s in the string --perlplexer
|