DAVE Robson - 2000-09-24

oops - make that:
inVal = inVal.substring(inVal.indexOf(".")+1,inVal.lastIndexOf(".") );

I forgot substring() doesn't include the character at the second argument.