Hi,
can some one let me know how to pad out a string.

i.e. I declare a string

dim ls_str as string

I then find the size of a foeld in a database. I set the value of the string. If the string size is smaller than the field size I want to pad the string out to the size of the field with spaces.



Hope this is clear.

Thanks in advance.

Lenin