On Mon, 2008-11-10 at 15:52 +, Taylor, Andrew (ASPIRE) wrote:
> Try:
>
> print "abc${string}zyx\n";
>
> or
>
> print "abc".$string."zyx\n";
>
Also:
printf "abc%sxyz\n", $string;
--
Just my 0.0002 million dollars worth,
Shawn
The map is not the territory,
the dossier is not the p
Hi all,
I have a string like below.
$string="ABCD";
While printing , I have to include some extra strings in prefix and
suffix of the stringlike below...
abcABCDxyz
how do I do this.?
actually I tried like below..
print "abc$sting\xyz";
B
my $string = "Hello";
$string .= " World";
print "Hello " . $string, "\n";
On Mon, Nov 10, 2008 at 10:34 AM, Sureshkumar M (HCL Financial Services) <
[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
>
>
>I have a string like below.
>
>
>
> $string="ABCD";
>
>
>
> While printing , I have to in
On Mon, 2008-11-10 at 21:04 +0530, Sureshkumar M (HCL Financial
Services) wrote:
> print "abc$sting\xyz";
print "abc${string}xyz";
--
Just my 0.0002 million dollars worth,
Shawn
The map is not the territory,
the dossier is not the person,
the model is not reality,
and the universe is ind
Try:
print "abc${string}zyx\n";
or
print "abc".$string."zyx\n";
Cheers
Andy
-Original Message-
From: Sureshkumar M (HCL Financial Services)
[mailto:[EMAIL PROTECTED]
Sent: 10 November 2008 15:34
To: beginners@perl.org
Subject: String concatination.