Hello guys , always me ... I have again a little problem related to "my" script The problem is on this line shrink minimum=8704-----------------------------> Constant value 3 this part of the code is ok If StringInStr($aArray[$i], "shrink minimum:") Then $shrinkMinimum = StringRight($aArray[$i], 4) ;search the array for the words "shrink minimum" I will have shrink minimum: 8704 . This mean that inside specific variable i have correct numeric value for next step . The problem is that this number could be 4 or 5 characters . I mean that on different txt file I could have shrink minimum value 23456 But if i change "StringRight($aArray[$i], 4" and put 5 instead of 4 when I will have on my txt file the value with 4 characters i will have my variable with this value =8704 and this is not ok for my next step Can you help me to solve this question , please ? BRs AnyB