You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
There is an error in the limitTo filter begin/end position calculations.
I want to show a maximum 5 characters from a string no matter which length it is.
Therefore I am using this snippet: {{string | limitTo : 5 : -5 }}
I expect the filter to show max. 5 chars beginning from the -5 index. This works as long as the string is at least 5 characters long. If it is shorter the filter won't display anything!