General information
Category:
Coding, syntax & commands
>> MyString=RTrim(LTrim(MyString))+Space(30-Len(RTrim(LTrim(MyString))))
I meant also to mention that the PADR( ) function doesn't just add characters to the right. An equivalent function needs to account for the fact that the desired length is less than the current length of the string and truncate it, if necessary. Larry's function does that too.
-Bob
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only