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!

Hello, I have a combobox with va 1

Status
Not open for further replies.

kvoguy

IS-IT--Management
Nov 15, 2002
34
BE
Hello,

I have a combobox with values. those values are in a Database. I put the value i get from this combobox in a sessionvariable. strSession = Session("Username")
This works. Now I want to trigger if strSession = admin
but in this variable after the word admin there are also a lot of white spaces. This because of the longest word is not admin :'(. Is there a possible way to trigger and remove this white spaces?

thanks in advance.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top