$ 0 0 Hi Mark, I tried your above logic but substring is not working.Its nit calculating the length of the field.