Hi all, First of all, I really appriciate your help and effort for this solution. I have used 'Dcount' and 'Field' functions to attain this solution. here is the code: mystring=Arg1 d1=dcount(mystring,' ') d2=d1-1 d3=index(mystring,' ',d2) d4=mystring[d3+1,30] d5=left(d4,3) Ans=d5 once again thanks ...