Skip to Content
0
Former Member
Sep 04, 2008 at 01:56 PM

regarding padding

9 Views

experts,

can we padd up spaces to a value which is less than its

declared length ,if so ,how.

ex : val type char10.

val = 'ABCDE'.

if i use strlen ( val ) it should return me 10.

how to solve the above problem.

thanks in advance.