I would like to join a specific string with numbers: My data: LC 4 ..... LC 23120 ...LC 53347 etc. My data is more complex than that with other words before and after the list above. So I wrote: #!/usr/bin/perl $string = join( "", "LC ", "4" ); Print "Joined String is $string\n"; and the result is: Joined String is LC 4 Instead of Joined String is LC4

How can I remove the white space between LC and numbers so it would look like this: LC53347 ?