Limit the text in table data

This is my code.

{{ message }}

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


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