;; | ---------------------------------------------------------------------------- ;; | ST_LJ ;; | ---------------------------------------------------------------------------- ;; | Function : Pad a String with spaces in the right(Left justified) ;; | Argument : 'Str' - String to process ;; | 'len' - Length of the padded string to create ;; | Return : The padded string ;; | Updated : February 5, 1999 ;; | e-mail : rakesh.rao@4d-technologies.com ;; | Web : www.4d-technologies.com ;; | ---------------------------------------------------------------------------- (defun ST_LJ(Str len / _len Str1 diff) (setq _len (strlen Str) diff (- len _len) Str1 "" ) (if (>= diff 0) (repeat diff (setq Str1 (strcat Str1 " ")) ) ) (setq Str (strcat Str Str1)) )