io scriverei
codice:
if len(titolo)>cint(num_max_h) then
   titolo=left(titolo,num_max_h)  & "..." 
end if
prova....