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.
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.