remove last character from a "string"?

  • Thread starter Thread starter Gary Smith
  • Start date Start date
G

Gary Smith

Hello--

Strings -- I hate 'em! Can anyone tell me how to remove
the last character from a string (which as it happens is
always a " )?

I have a variable set equal to a string, and I want to
reset the variable to be equal to itself, minus the last
character. To wit:

Duren or Iwanowski"

becomes...

Duren or Iwanowski

As always, any forthcoming assistance -- much appreciated.

--Gary
 
Try

strVariable = Mid(strVariable,1,Len(strVariable) - 1)

Hope This Helps
Gerald Stanley MCSD
 
Back
Top