while(str_len(szString) < 40){str_cat(szString, " ");}
40 = desired length

I came across the same problem. :-P


no science involved