I’ve got rows in my table that contain text anywhere between 31 character and 281 characters long.
Rather than display all this text in my table on my webpage, I’d like to limit this text to a few characters long so as to identify it to the user.
What I’ve done is select left(ColumnName, 30) but this way is fairly ugly on the page as it cuts off the text in the middle of words.
Can anyone suggest a way to break it on a character or something that would display better on my page?
Code:
Result: