Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to add special character like "," and "; " into string

Status
Not open for further replies.

TTMTech

Programmer
Feb 5, 2003
29
0
0
US
Hi

How to add special character "," or ";" into perl string variable.

my $str = "abc";
$str.=",xyz";

then it gives error.

Thanks in advance.
 
That should work just fine, what's the error it gives you?

----------------------------------------------------------------------------------
...but I'm just a C man trying to see the light
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top