Click here to Skip to main content
15,896,505 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i m using trim porperty of combobox but i still facing problem of white spaces in front of string


my tried code is-

' " & combobox1.text.trim & " '
Posted
Comments
Sandeep Mewara 3-May-11 4:50am    
Share the full thing. What is before and after the text?
NuttingCDEF 3-May-11 5:19am    
Are you worried about how the text is displayed in the combobox? Or cleaning up the text that you get from the combobox before you use it elsewhere in your application? Or what?

1 solution

Try using replace method
 
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