Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

LTrim function 1

Status
Not open for further replies.

tjsoto

Technical User
Mar 11, 2003
1
US
I need to trim the first three characters out of six charcters. In vba, the trim function on removes spaces, right? How would I remove the just the first three? The data type is string and the length will always be six characters.

Thankx,

tjsoto
 
There is no single function, you can do something like that:

MyString=Right(MyString,Len(MyString)-3)
 
If your field is 6 characters, try:
Right(YourField,3)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top