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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Remove text from string

Status
Not open for further replies.

MadMax7

MIS
Feb 17, 2004
62
GB
Hello all

I need to remove the first 2 characters and the last 4 characters from a string can some tell me the best way to do this please

 
Hi!

NewString = Mid(OldString, 3 , Len(OldString) - 6)

hth


Jeff Bridgham
bridgham@purdue.edu
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top