Click here to Skip to main content
15,884,298 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all,

This is my first post and have some experience with VB 2010.

Was wondering if someone could help me with a Combobox issue.

Basically i wish to put an Item in my Combobox such as lets say "Monday", when i push a button i wish for it to display that into a textbox as a shorter version such as "Mon".

So basically just looking for the combobox Item to be outputted as a shorter version.

Thanks in advance :)
Posted

1 solution

you can use
C#
String.SubStr()
function.

Or do you want ellipsis (...) like monday-> mon…

please provide more details..
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900