Truncate dynamic text under ASP/Javascript

December 12, 2004 by marino zapico

hope this will help you

;)

 

<%
var myString = (rsName.Fields.Item("MemoColumn").Value)
document.write(myString.substring(0,100))
%>

RE: Truncate dynamic text under ASP/Javascript

December 20, 2004 by Niall Porter

hey, that looks like just the thing, thanks!  Working on something else at the moment but still need that code, will give it a shot when I get back to that bit and post results here.

 

Thanks Marino!