View Single Post
  #2 (permalink)  
Old 11-26-2007, 06:48 AM
velhari velhari is offline
D-Web Programmer
 
Join Date: Mar 2007
Location: Chennai
Posts: 67
velhari is on a distinguished road
Send a message via AIM to velhari
Thumbs up Re: How to concatenate strings with Perl?

Hi,
Using Join and dot operator, you can concatenate string easily.

Example:-
  1. $string = 'Hello'.'World';
    output as,
    HelloWorld

  2. $string = join 'Hello','World';
    output as,
    HelloWorld
__________________
Regards,
VELHARI
I am not totally useless. I can be used for a bad example
Reply With Quote