do a replace on your string; something like str1 = str1.replace(" ",
" ")
" " (no quotes) is the html representation of a space that won't be
removed upon display.
Josh Moody
VSU Team
--
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
Note: For the benefit of the community-at-large, all responses to this
message are best directed to the newsgroup/thread from which they
originated.
--------------------
From: "rewf" <ew*@eo.it>
Newsgroups: microsoft.public.dotnet.languages.vb
Subject: Problem with drop down list
Lines: 13
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <W6*******************@tornado.fastwebnet.it>
Date: Thu, 8 Jan 2004 12:25:13 +0100
NNTP-Posting-Host: 1.62.1.51
X-Complaints-To: ne********@fastweb.it
X-Trace: tornado.fastwebnet.it 1073561142 1.62.1.51 (Thu, 08 Jan 2004
12:25:42 MET)NNTP-Posting-Date: Thu, 08 Jan 2004 12:25:42 MET
Path:
cpmsftngxa07.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFTN GXA05.phx.gbl!TK2MSFTNGP08
.phx.gbl!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!e
usc.inter.net!npeer.de.kpn-eurorings.net!news.cambrium.nl!news.cambrium.nl!n
ews.cambrium.nl!newsfeed.kabelfoon.nl!195.129.110. 21.MISMATCH!bnewsfeed00.br
u.ops.eu.uu.net!bnewsinpeer00.bru.ops.eu.uu.net!em ea.uu.net!tornado.fastwebn
et.it!53ab2750!not-for-mailXref: cpmsftngxa07.phx.gbl microsoft.public.dotnet.languages.vb:170991
X-Tomcat-NG: microsoft.public.dotnet.languages.vb
Hi, I fave this problem with a drop down list:
I have a drop down list that work with a database.
In the database I have some word with some spaces before like that
"Example
Example"
My problem is that i need this spaces, but when I run my web application
thedisappear, because the html code don't permitt me to use it.
Someone can help me?
Thank you very much!
Daniele Bandirali