in reply to
Re^2: substr question
in thread
substr question
In fact, your code is worse for 2 reasons:
The output string
$s2
no longer has any whitespace between words:
Hello,Iamaperl/mysql...
Generates a warning:
Use of uninitialized value $s2...
Comment on
Re^3: substr question
Select
or
Download
Code
In Section
Seekers of Perl Wisdom