Limit the text in table data


#1

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?


#2

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