Question Using Substring

Okestra007

Registered User.
Local time
Today, 16:34
Joined
Sep 26, 2010
Messages
17
Hello,

I have a field with string that I will like to trim the last two letters. The problem for me is that the total characters length will almost always be different. Please help me with removing the last 2 digits of whatever is entered.

Example: User entered

  1. ABC123445A
  2. THT676746
  3. HGS87763392
  4. GTD8821234000

Captured Data Should be;

  1. ABC12344
  2. THT6767
  3. HGS877633
  4. GTD88212340
Thanks
 
Left([string], Len([string])-2)
 

Users who are viewing this thread

Back
Top Bottom