epeli/underscore.string — Issue #57: prune does not work well with different encodins
Author: daniel-zahariev
Created: 2011-10-27 14:02:36+00:00
State: open

Example:

_.prune('Обикновен текст', 40, "...")

returns:

'...'

this is Bulgarian (meaning 'Regular text')