>
> Sorry, aber ich glaube ich bin heute auf den Kopf gefallen.
> Ich verstehe das nicht so richtig.
> Wo kann ich den da die L�nge (40) angeben ?
> Du wie bekomme ich meinen Text zur�ck ?
>

if len(mystring) >= 40 then
hasspaces = false
for i = 1 to len(mystring)
if mid(i,1) = " " then
hasspaces = true
end if
next
if hasspaces = false
newstring = left(mystring,40) & " " & mid(mystring,41,(len(mystring)-41))
end if
end if
response.write newstring

Gruss

Alex
P.S.: nicht getestet ;)


_______________________________________________
Coffeehouse mailing list
[EMAIL PROTECTED]
http://www.glengamoi.com/mailman/listinfo/coffeehouse

Antwort per Email an