Thanks for your help
i am sure that i m getting spaces .
do you have any alternative solution for this check instead of the above logic(any generic solutions by using Justified right ). I have another filed which has 18 length so i need to same validations .
My main aim is if use entered any values leading spaces and trailing space with data we need to move all those spaces to zeroes before the number.
suppose
1bb -- 001
bb1 -- 001
like that
if 1b1 it is error
Thanks
Venkat