@MichaelMDec 11.2003 — #Can you post the script as you have it? Based on what you've shown us, I can't see why you'd be getting bad results from the substring method.
@David_HarrisonDec 11.2003 — #You are using the substring method incorrectly. It should be used like this:
var str='f /';
test=str.substring(1,2);
This will assign the variable test a value of " ". For substring you specify two numbers, the first is where it should start taking characters from (remembering that the numbering of char's starts from 0), and the second is the number of the character after where you want it to stop. So if (for some reason) you wanted all the string you would do this: