Method shorten documentation
Shortens the given string after *len* characters.
bbn.fn.shorten('testing', 4, '***');
Shortens the given string after *len* characters. - Provides an abbreviation to the string passed as the first argument,
deciding through the second argument the number of characters to keep and the remainder replaced
by what is passed as the third argument and if not given a defalut it is: '...'
BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way