djangosnippets.org: Latest snippets posted by adamfasthttp://djangosnippets.org/users/adamfast/2007-06-12T15:20:32.746181-05:00adamfastMake a string a fixed-width
2007-06-12T15:20:32.746181-05:00adamfasthttp://djangosnippets.org/snippets/280/<p>This snippet is a template filter based on <a href="http://www.djangosnippets.org/snippets/126/">"truncate letters"</a> only it will either truncate or pad a string to ensure the output is always a set width.</p>
Freely redistributable