Computing.Net > Forums > Programming > how two last two values in vb6

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

how two last two values in vb6

Reply to Message Icon

Name: secrets
Date: December 19, 2003 at 09:15:59 Pacific
OS: windows
CPU/Ram: 1.7
Comment:

i have a value e.g. t2004 now i want the only last two digits means t2004 how can i get them?



Sponsored Link
Ads by Google

Response Number 1
Name: sidney
Date: December 19, 2003 at 13:04:44 Pacific
Reply:

a$ = "abcde"
text1.text = right$(a$,2)

Simple at that.
a$ is your value
2 is the amount of numbers from the right to display


0

Response Number 2
Name: secrets
Date: December 19, 2003 at 23:56:36 Pacific
Reply:

thanks sidney for the help.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


visual C++ and wallpaper how to get threads return...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: how two last two values in vb6

Return two values in C language www.computing.net/answers/programming/return-two-values-in-c-language/13620.html

Reading registry value in VB6 www.computing.net/answers/programming/reading-registry-value-in-vb6/2608.html

How to open cmd.exe in VB6 www.computing.net/answers/programming/how-to-open-cmdexe-in-vb6/7943.html