To complete my question...
This is a static input-output where a number of words are counted, and then cutted in view.
<%
Input = "Link1 Link2 Link3 Link4 Link5"
Input = Trim(Input)
Do While InStr(1, Input, " ")
Input = Replace(Input, " ", " ")
Loop
Words = Split(Input, " ")
Response.Write ("Full string with: " & UBound(Words) + 1 & " words: " & Input)
Response.Write("
")
Output = Left(Input,15) & " ..."
Response.Write("Cutted string with " & UBound(Words) +1 & " words: " & Output)
%>
The prints looks like this:
Full string with: 5 words: Link1 Link2 Link3 Link4 Link5
Cutted string with 5 words: Link1 Link2 Lin ...