# truncate

Truncates a string based on provided length.

# Installation

Global install:

import Vue from 'vue';
import { truncate } from 'vuetensils/src/filters';

Vue.filter('truncate', truncate);

Local install:

<script>
  import { truncate } from 'vuetensils/src/filters';

  export default {
    filters: {
      truncate,
    },
  };
</script>

# Example

Last Updated: 7/7/2020, 10:03:39 PM