pw317
03-29-2004, 04:53 PM
Hello. I am probably asking a very dumb question but I've found it is easier to ask dumb questions than none at all.
The problem is: The Trim function returns a new string with trailing blanks removed. However, strings can only be defined as fixed length. The fixed length string will now have added blanks if it is longer. There doesn't seem to be any way to exploit the Trim function so that I can set a string variable that has trailing blanks removed.
What I want are variable length strings with leading and trailing blanks removed. I cannot find a simple way to do this.
The problem is: The Trim function returns a new string with trailing blanks removed. However, strings can only be defined as fixed length. The fixed length string will now have added blanks if it is longer. There doesn't seem to be any way to exploit the Trim function so that I can set a string variable that has trailing blanks removed.
What I want are variable length strings with leading and trailing blanks removed. I cannot find a simple way to do this.