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

String Manipulation?

Status
Not open for further replies.

AccessMoron

Programmer
Feb 15, 2002
30
GB
Is there a similar command to VB's Left(string,length) that would enable me to chop off the last eight characters of a string?

TIA
Mike
 
Not that I'm aware of, though if you know you always want to chop the last 8 chars, you can do this:

stringFoo = stringFoo.substring(0,stringFoo.length-8);
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top