How to remove white space between two two bind values in Angular 2/4

Viewed 2318

Hi I have an angular 2 template code like below:

            <td>
                <a href="#">
                    {{row.test[0].size}}
                    {{row.test[0].length}}
                    {{row.test[0].width}}
                </a>
            </td>

But when the project loads in browser am getting a space between these values. Which i dont want. How can I solve this issue? Any idea guys? Do I need to use any pipe or something? Thanks in advance.

2 Answers

You can make it one interpolation:

            <td>
                <a href="#">
                    {{row.test[0].size +
                      row.test[0].length +
                      row.test[0].width}}
                </a>
            </td>
Related