what is the o/p of the above statement and i want to know if we use combination pf LENGHT(STRING) what it means??
=> This will work. And if you try to display the variable CHNG_AGGR_LENGTH, the ans would be 42.
But if you observe, the value assigned to 'CHNG_AGGR' would be of length 1.
If CHNG_ADDR is declared as a variable of say Char (12),
Then you need not have to use 'Length(string(chng_addr))'.. Instead you could use 'Length(Chng_addr)' itself.
But in your example, you have declared that variable as structure,
Hence u require the built - in function 'STRING'.