Most viewed recipes tagged "trim"http://code.activestate.com/recipes/tags/trim/views/2013-07-09T14:31:18-07:00ActiveState Code RecipesTrimming strings (JavaScript)
2013-07-09T14:31:18-07:00greg zakharovhttp://code.activestate.com/recipes/users/4184115/http://code.activestate.com/recipes/578597-trimming-strings/
<p style="color: grey">
JavaScript
recipe 578597
by <a href="/recipes/users/4184115/">greg zakharov</a>
(<a href="/recipes/tags/trim/">trim</a>).
</p>
<p>I do not like jQuery that's why I wrote own implementation for trimming strings. There are two ways how to do it.</p>