How to count the number of letters in a register
Posted: Fri Feb 21, 2014 8:48 pm
Hy,
i need to insert a field in a DB2 VARCHAR field, but is necessary know the size of field before insert the data.
My input file has the following data:
[img] [/img]
I need count the number of caracters of the string that begins in position 41 without the spaces, in this case the answer will be 18.
thank for the help
i need to insert a field in a DB2 VARCHAR field, but is necessary know the size of field before insert the data.
My input file has the following data:
[img] [/img]
I need count the number of caracters of the string that begins in position 41 without the spaces, in this case the answer will be 18.
thank for the help