Thanks for response.
My Text is richedit.If I used toplaintext() and setplaintext() then my text property will lost.And with toHTML i am not able to truncate properly as they contail HTML tags
Please suggest
Thanks for response.
My Text is richedit.If I used toplaintext() and setplaintext() then my text property will lost.And with toHTML i am not able to truncate properly as they contail HTML tags
Please suggest
Your case is very specific.
You could use the plain text to check the length.
Then do something to find where to cut off the text.
Then use the html text and find that place in your html text and cut off the text.
Be carfull to close the tags too
Bookmarks