Might be able to improve the kixgolf script score by a few strokes if you used the split function to "parse-out" the script, line-by-line. A default split (no second parm specified) should be able automatically skip over all the white-space that your checking for now, then all thats left is to do some sort of instr($c,";") to get at the comments ?

-Shawn