Friday, March 28, 2008, 12:47:23 PM, Stéphane Heckel wrote:
> yes, good idea.
> Having the choice to have CRLF as a separator (instead comma) would make the
> debug process easier !
something like
//comma seperated names as default
$sep = $opt['sep'] ? $opt['sep'] : ",";
$sep = str_replace('\n',"\n",$sep);
$sep = str_replace('\r',"\r",$sep);
if ($sep=='LF') $sep = "\n";
if ($sep=='CRLF') $sep = "\r\n";
return implode($sep, $plist);
does it need distinction to specify LF or CRLF or \n or \r\n ?
~Hans
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users