VB 6 Select text excluding last digit

Sir

I am using vb 6 and have several value in an valriable "01001002a" I want to show user "01001002" the word last word would not be display to user. please help

Rgds.
Mehram
MehramAsked:
Who is Participating?
 
Guy Hengel [angelIII / a3]Connect With a Mentor Billing EngineerCommented:
left ( yourvariable , len(yourvariable ) - 1 )
0
 
MehramAuthor Commented:
Sir, Tks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.