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

Removing the first Character from a string? 4

Status
Not open for further replies.

ftpdoo

Programmer
Aug 9, 2001
202
GB
Hi,

I have a string "strString" which contains the value:

PZZZ

I need to remove the first Character to leave ZZZ.

Any idea's?
Thnx,
Jonathan
 
MsgBox Right$(strString, Len(strString)-1)
VCA.gif
 
Just a caution, make sure the string is trimmed in some way if you use the "right" method, or anything that involves its length. You don't want spaces and other garbage included in your calcs. :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top