View Full Version : Darwin 3.1 Scripting

03-22-2012, 02:04 AM
Hi there,
I'm trying to set up some functions for a recent project.
What I need is to have a string which has tab characters in it.
For the test sake I did this:

function pref1()
var pref = arguments[0];
var str = arguments[1].toString();
var tab = String.fromCharCode(9);
return pref+tab+str;

But unfortunately it gives no result. If the separating character is space (32) everything is OK.

Somebody convinient with