Nun es stellt sich die frage ob das nicht in die
Aspbeginnersliste gehoert ;-), denn da gab es die antwort schomal.
Es gibt mehrer Wege
Einer aus er liste
-------------------------------
Hi
hier auf die Schnelle ein Kopie, wie ich es mache. Warwas ist die Variable.
<%
warwas= rs("bericht")
if Len(warwas)>200 then
while (InstrRev(warwas," ")>200 or InstrRev(warwas,".")>200) and
warwas<>vbNullString if InstrRev(warwas," ")>200 then
warwas=Left(warwas,InstrRev(warwas," ")-1) else
warwas=Left(warwas,InstrRev(warwas,".")-1)
end if
wend
end if
Response.write warwas
%>
Gr��e Gudula
------------------------------
Roman Pittroff
Consulting
Bangkok, Thailand
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Oliver Dreyer
Sent: 01 April 2003 18:36
To: [EMAIL PROTECTED]
Subject: [Coffeehouse] Zeilenumbruch aber richtig!
Hallo Leute,
ich versuche eine Zeile nach ca.50 Zeichen mit einem <br> umzubrechen,
das ist soweit auch kein Problem, aber wie bekomme ich das hin, dass er
erst nach einem Wortende umbricht?
Also nicht:
Testv<br>
ariabel blendtext
Sondern:
Testvariabel<br>
Blendtext
mfg Oliver
~~~~~~~~~~~~~~~~~~~~~~~~~~~sponsored by United Planet~~~~~~~~~~~~~~~~~
Kaffeepause im United Planet Communityserver ...
http://www.intrexx.com/communityserver
_______________________________________________
Coffeehouse mailing list
[EMAIL PROTECTED]
http://www.glengamoi.com/mailman/listinfo/coffeehouse
~~~~~~~~~~~~~~~~~~~~~~~~~~~sponsored by United Planet~~~~~~~~~~~~~~~~~
Kaffeepause im United Planet Communityserver ...
http://www.intrexx.com/communityserver
_______________________________________________
Coffeehouse mailing list
[EMAIL PROTECTED]
http://www.glengamoi.com/mailman/listinfo/coffeehouse