<%
function detay(metin,karekter)
response.write LEFT(metin,int(karekter))
end function

%>
kullanımı : <%=detay(rs("dokuman"),400)%>