Limit the text in table data

This is my code.

<tr>
<td>
{{ message }}
</td>
</tr>

In the message variable i have a large string. I want to display only some words or charecters. How can I limit them?

Hello,

make your substring in ts like
message = str.substring(0, 10);

Put in your variables only this amount of data you wanna show.

Best regards, anna-liebt

1 Like