Cut last 5 character

  • Follow


Hi,
What function can we cut (trim) last 5 char in a string?
Ex: I am a student in CA
After cut=> I am a student
Thank you in advance.
MN
0
Reply Utf 11/9/2007 4:14:00 PM

First make a backup copy of the table if you are updating the data.  

Then use this ---
    Left([YourField], Len([YourField]) -5)

-- 
KARL DEWEY
Build a little - Test a little


"MN" wrote:

> Hi,
> What function can we cut (trim) last 5 char in a string?
> Ex: I am a student in CA
> After cut=> I am a student
> Thank you in advance.
> MN
0
Reply Utf 11/9/2007 4:25:01 PM


Thank you - thank ..... How smart you are :-)
MN

"KARL DEWEY" wrote:

> First make a backup copy of the table if you are updating the data.  
> 
> Then use this ---
>     Left([YourField], Len([YourField]) -5)
> 
> -- 
> KARL DEWEY
> Build a little - Test a little
> 
> 
> "MN" wrote:
> 
> > Hi,
> > What function can we cut (trim) last 5 char in a string?
> > Ex: I am a student in CA
> > After cut=> I am a student
> > Thank you in advance.
> > MN
0
Reply Utf 11/9/2007 4:38:02 PM

2 Replies
524 Views

(page loaded in 0.054 seconds)

Similiar Articles:
















7/19/2012 5:35:03 PM


Reply: