Hi, sorry for the delay in replying.
I think I understand, you have a field called itemlongdesc which contains a long text string, which you want to shorten , so it appears in 5 lines in the space provided. ?
There is a php function called strlen which you can use to return a partial string, which may give you what you want.
You may need a bit of trial and error to get it to fit to 5 lines.
I also have a function to trim a partial word from a string, which makes it look a bit neater, when you add the ...more ellipsis