Hiuston i have a problem

I tried to make something with mid or mid$ functions but i failed.

My problem is that i have string "12.30.98" in my program and i need to get "30" from it with MID function (it's function right?)

Thanx

-Casparas