Hi, i used asp code to store values into access db. And i want to know if there is any way to strip away "tab" spaces in a sentence that the user entered in the form before user saved the form to dtabase. thanks.
RE: Is there a way to get rid of trailing spaces..
Might not be the best way, but it will work. I'm thinking <BR><BR>sItem = Replace(sItem, "CharacterToBeReplaced", "ReplacementCharacter")<BR><BR>For your tab replace - you may need to determine the keyboard eqivalent - I know that <enter> key is 13 - every key has one... - or if it is just a space you need to remove that is more common.... search Google for "ASP string manipulation"<BR><BR>Just some ideas, I know it can help to throw stuff out there even if it ends up not being used... Good Luck -