sBreak String that specifies or receives one of the following values.normal Default. Allows line breaking within words.
break-all Behaves the same as normal for Asian text, yet allows the line to break arbitrarily for non-Asian text. This value is suited to Asian text that contains some excerpts of non-Asian text.
keep-all Does not allow word breaking for Chinese, Japanese, and Korean. Functions the same way as normal for all non-Asian languages. This value is optimized for text that includes small amounts of Chinese, Japanese, or Korean.
还是自己搞定:
<%
function strlen(str)
dim p_len
p_len=0
strlen=0
p_len=len(str)
for xx=1 to p_len
if asc(mid(str,xx,1))<0 then
strlen=int(strlen) + 2
else
strlen=int(strlen) + 1
end if
next
end function
classname = ""
truename = ""
while not classrs.eof
if strlen(classname)+strlen(classrs(1)&" ")>=26 then
truename = truename&"<br>"
response.Write(truename)
classname = "·"&classrs(1)&" "
truename = "<a href='quicksearch.asp?BigClassId="&classrs(0)&"' target=_bank>·"&classrs(1)&"</a> "
else
classname = classname&"·"&classrs(1)&" "
truename = truename&"<a href='quicksearch.asp?BigClassId="&classrs(0)&"' target=_bank>·"&classrs(1)&"</a> "
end if