Bryce, recheck your code and the code I posted. I have the code executing in a 10,000 iteration loop to get ~550 ticks.

Try:
code:
break on
$file = "f.u.b.a.r.exe.txt"
$a = @ticks
for $j=1 to 10000
$Name = ""
$filearray = split($file,".")
for $i = 0 to ubound($filearray)-1
if $i = ubound($filearray)-1
$Name = $Name + $filearray[$i]
else
$Name = $Name + $filearray[$i] + "."
endif
next
next
$b = @ticks
? $Name
? "Time spent = " $b-$a


$a = @ticks
for $j=1 to 10000
$file = "f.u.b.a.r.exe.txt"
$file = Left($file,InStrRev($file,".")-1)
next
$b = @ticks
? $file
? "Time spent = " $b-$a


f.u.b.a.r.exe
Time spent = 5238
f.u.b.a.r.exe
Time spent = 601
_________________________
Home page: http://www.kixhelp.com/hb/