D Del Jul 17, 2008 #1 I have a string that varies in length and I want to remove 16 characters from the end of it. What code is available to do this?
I have a string that varies in length and I want to remove 16 characters from the end of it. What code is available to do this?
S Stuart McCall Jul 17, 2008 #2 Del said: I have a string that varies in length and I want to remove 16 characters from the end of it. What code is available to do this? Click to expand... For a string called s, the code would be: s = Left$(s, Len(s) - 16)
Del said: I have a string that varies in length and I want to remove 16 characters from the end of it. What code is available to do this? Click to expand... For a string called s, the code would be: s = Left$(s, Len(s) - 16)
D Del Jul 17, 2008 #3 Sometimes I get into a fog and can't see a thing. That is a much simpler way than what I was headed toward. Thanks for the rapid response.
Sometimes I get into a fog and can't see a thing. That is a much simpler way than what I was headed toward. Thanks for the rapid response.
M Marshall Barton Jul 18, 2008 #4 Del said: I have a string that varies in length and I want to remove 16 characters from the end of it. What code is available to do this? Click to expand... Left(string, Len(string)-16)
Del said: I have a string that varies in length and I want to remove 16 characters from the end of it. What code is available to do this? Click to expand... Left(string, Len(string)-16)