var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: Using split with reserved special characters
I am trying to use the split function to replace a string in the format mm/dd/yyyy, but, when i use the following code,
@Stringout = split /\\//,$Stringinp;
The output is ddyyyy and i lose mm...
what am i doing wrong? i was looking through documentation and all it says is that i need to use a "\" when using special chars.
The following code works for me. You might have had one to many escape characters on ur split statement.
Hope that helps you.
$Stringinp = "09/12/2004";
@Stringout = split /\//, $Stringinp;
Originally Posted by init0007